From 8ad85cea6d7da529ec24010eb51fca5d6165f81f Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Fri, 19 Apr 2024 14:56:06 +0100 Subject: [PATCH] Bring back Django package just for future use in case --- Pipfile.lock | 7 +++++++ game/urls.py | 1 + setup.py | 1 + 3 files changed, 9 insertions(+) diff --git a/Pipfile.lock b/Pipfile.lock index 82701fadc..c813964c5 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -212,6 +212,13 @@ "markers": "python_version >= '3.8'", "version": "==3.3.8" }, + "django-js-reverse": { + "hashes": [ + "sha256:2a392d169f44e30b883c30dfcfd917a14167ce8fe196c99d2385b31c90d77aa0", + "sha256:8134c2ab6307c945edfa90671ca65e85d6c1754d48566bdd6464be259cc80c30" + ], + "version": "==0.9.1" + }, "django-otp": { "hashes": [ "sha256:e7142139f1e9686be5f396669a3d3d61178cd9b3e9de9de5933888668908b46b", diff --git a/game/urls.py b/game/urls.py index 960f7eb22..82eb5e8b9 100644 --- a/game/urls.py +++ b/game/urls.py @@ -141,5 +141,6 @@ ] ), ), + url(r"^js-reverse/$", urls_js, name="js-reverse"), url(r"^js-i18n/$", JavaScriptCatalog.as_view(packages=["game"]), name="rapid-router/javascript-catalog"), ] diff --git a/setup.py b/setup.py index d324deee5..e05888f1b 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ install_requires=[ "django==3.2.25", "django-csp==3.7", + "django-js-reverse==0.9.1", "django-pipeline==2.0.8", "djangorestframework==3.13.1", "more-itertools==8.7.0",