From 1fdb031319c80bb3d7bf25e36b904a7e9abb1903 Mon Sep 17 00:00:00 2001 From: Jirka Schaefer Date: Wed, 28 Aug 2024 10:00:49 +0200 Subject: [PATCH] pylint beauty and changelog --- CHANGELOG.md | 6 ++++++ django_walletpass/models.py | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d0ba7c..902f61e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [4.2.1] - 2024-08-28 + +### Changed + +- stable datetime str conversion + ## [4.2] - 2024-08-26 ### Added diff --git a/django_walletpass/models.py b/django_walletpass/models.py index b756dd8..08dbb86 100644 --- a/django_walletpass/models.py +++ b/django_walletpass/models.py @@ -1,4 +1,3 @@ -import datetime import os import re import uuid @@ -8,6 +7,7 @@ import secrets import zipfile from glob import glob +from dateutil.parser import parse as datetime_parse from django.core.exceptions import ValidationError from django.utils import timezone from django.utils.module_loading import import_string @@ -17,7 +17,6 @@ from django_walletpass.storage import WalletPassStorage from django_walletpass.files import WalletpassContentFile from django_walletpass.settings import dwpconfig as WALLETPASS_CONF -from dateutil.parser import parse as datetime_parse class PassBuilder: