Compare commits

...
Author SHA1 Message Date
Stan Triepels 15a3f088f5 Update django.po 2023-11-04 19:52:04 +01:00
Stan Triepels b3f494571f Use importerror for b62_decode and avoid deprecation notification (#134) 2023-10-26 14:29:13 +02:00
Patrycja 503127233f Specify build system in pyproject.toml (#131)
Otherwise, trying to build the project with a tool like gpep517 or build
results in using the setuptools legacy backend instead
2023-10-19 22:05:16 +02:00
3 changed files with 9 additions and 4 deletions
+4 -3
View File
@@ -8,11 +8,12 @@ from django.core.signing import Signer as Sgnr
from django.core.signing import TimestampSigner as TsS
from django.core.signing import b64_decode, dumps
if django.VERSION < (5, 0):
try:
from django.core.signing import b62_decode
except ImportError:
# fallback for django 3.x
from django.utils.baseconv import base62
b62_decode = base62.decode
else:
from django.core.signing import b62_decode
from django.utils.crypto import constant_time_compare
from django.utils.encoding import force_bytes, force_str
+1 -1
View File
@@ -303,7 +303,7 @@ msgstr "Bimestriel"
#: models.py:194
msgid "Quarterly"
msgstr "Tous les quart-d’heure"
msgstr "Trimestriel"
#: models.py:195
msgid "Yearly"
+4
View File
@@ -1,3 +1,7 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "django-q2"
version = "1.6.1"