From b03bc3cca4353e52bc3693485328c382652b4044 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Doderlein Date: Tue, 7 Nov 2023 14:03:03 +0100 Subject: [PATCH] update package requirements to 4.2 --- note_kfet/admin.py | 5 +++-- requirements.txt | 36 +++++++++++++++++------------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/note_kfet/admin.py b/note_kfet/admin.py index dc209c6..46a807b 100644 --- a/note_kfet/admin.py +++ b/note_kfet/admin.py @@ -25,8 +25,9 @@ admin_site.register(Site, SiteAdmin) # Add external apps model if "oauth2_provider" in settings.INSTALLED_APPS: - from oauth2_provider.admin import Application, ApplicationAdmin, Grant, \ - GrantAdmin, AccessToken, AccessTokenAdmin, RefreshToken, RefreshTokenAdmin + from oauth2_provider.models import Application, Grant, AccessToken, RefreshToken + from oauth2_provider.admin import ApplicationAdmin, \ + GrantAdmin, AccessTokenAdmin, RefreshTokenAdmin admin_site.register(Application, ApplicationAdmin) admin_site.register(Grant, GrantAdmin) admin_site.register(AccessToken, AccessTokenAdmin) diff --git a/requirements.txt b/requirements.txt index f4ece22..598a3b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,17 @@ -beautifulsoup4~=4.7.1 -Django~=2.2.15 -django-bootstrap-datepicker-plus~=3.0.5 -django-cas-server~=1.2.0 -django-colorfield~=0.3.2 -django-crispy-forms~=1.7.2 -django-extensions>=2.1.4 -django-filter~=2.1 -django-htcpcp-tea~=0.3.1 -django-mailer~=2.0.1 -django-oauth-toolkit~=1.3.3 -django-phonenumber-field~=5.0.0 -django-polymorphic>=2.0.3,<3.0.0 -djangorestframework>=3.9.0,<3.13.0 -django-rest-polymorphic~=0.1.9 -django-tables2~=2.3.1 -python-memcached~=1.59 -phonenumbers~=8.9.10 -Pillow>=5.4.1 +beautifulsoup4 +Django +django-bootstrap-datepicker-plus +django-colorfield +django-crispy-forms +django-extensions +django-filter +django-mailer +django-oauth-toolkit +django-phonenumber-field +django-polymorphic +djangorestframework +django-rest-polymorphic +django-tables2 +python-memcached +phonenumbers +Pillow