Skip to content
Snippets Groups Projects
Commit 333eb003 authored by David Schmitz's avatar David Schmitz Committed by root
Browse files

requirements version update: necessary adaptions

parent af33c641
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@ from rest_framework.authtoken.models import Token
import requests
#import list
#if DEBUG:
# warnings.simplefilter('ignore', category=RemovedInDjango40Warning)
#
assert settings.ROUTES_DUPLICATES_CHECKING == False
#dirname1 = os.path.dirname(__file__)
......
......@@ -521,7 +521,8 @@ def edit_route(request, route_slug):
else:
if (not route_original.status == 'ACTIVE'):
route_edit.expires = datetime.date.today() + datetime.timedelta(days=settings.EXPIRATION_DAYS_OFFSET-1)
dictionary = model_to_dict(route_edit, fields=[], exclude=[])
#dictionary = model_to_dict(route_edit, fields=[], exclude=[])
dictionary = model_to_dict(route_edit, exclude=[])
dictionary["name"] = route_edit.name_visible
if request.user.is_superuser:
dictionary['issuperuser'] = request.user.username
......
......@@ -189,7 +189,10 @@ TEMPLATES = [
"django.contrib.auth.context_processors.auth",
'django_settings_export.settings_export',
'django.contrib.messages.context_processors.messages'
]
],
'libraries': { # Adding this section should work around the issue.
'staticfiles' : 'django.templatetags.static',
}
},
},
]
......
setuptools==59.1.1
setuptools
argparse
cl
celery==5.2.3
......@@ -9,7 +9,7 @@ djangorestframework==3.12.0
django-tinymce
django-form-utils
django-settings-export
Django==2.2.28
Django==3.2.16
gevent
greenlet
gunicorn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment