@@ -87,10 +87,6 @@ SITE_ID = 1
# to load the internationalization machinery.
USE_I18N = True
-# If you set this to False, Django will not format dates, numbers and
-# calendars according to the current locale.
-USE_L10N = True
-
# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True
@@ -218,8 +214,6 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'Post.views.common_context',
)
-AUTH_PROFILE_MODULE = 'registration.RegistrationProfile'
-
BUGZILLA_URL = 'https://bugzilla.yoctoproject.org'
ACCOUNT_ACTIVATION_DAYS = 2
@@ -81,10 +81,6 @@ SITE_ID = 1
# to load the internationalization machinery.
USE_I18N = True
-# If you set this to False, Django will not format dates, numbers and
-# calendars according to the current locale.
-USE_L10N = True
-
# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = True
@@ -212,8 +208,6 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'Post.views.common_context',
)
-AUTH_PROFILE_MODULE = 'registration.RegistrationProfile'
-
BUGZILLA_URL = 'https://bugzilla.yoctoproject.org'
ACCOUNT_ACTIVATION_DAYS = 2
@@ -1,5 +1,5 @@
-Django<4.3
-python-Levenshtein
-bleach
-mysqlclient
-django-registration
+Django>=5.2.18,<5.3
+python-Levenshtein==0.27.4
+bleach==6.4.0
+mysqlclient==2.3.0
+django-registration==5.2.1
Django 4.2.30 has 7 known vulnerabilities, fixed in 5.2.18. Pin the other requirements to the installed versions. Drop USE_L10N, removed in 5.0, and AUTH_PROFILE_MODULE, unused since 1.7. No migrations needed. [YOCTO #16458] AI-Generated: Claude Opus 5.5 Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- project/settings.py | 6 ------ project/settings.py.docker | 6 ------ requirements.txt | 10 +++++----- 3 files changed, 5 insertions(+), 17 deletions(-)