rm urlresolvers compat

has been removed in django 2.0

https://docs.djangoproject.com/en/1.10/internals/deprecation/#deprecation-removed-in-2-0
This commit is contained in:
Tobias Bengfort
2021-06-23 08:46:45 +02:00
parent daece24c6d
commit 81675207d3
4 changed files with 4 additions and 16 deletions

View File

@@ -7,14 +7,10 @@ from django.contrib.auth import get_user_model
from django.http import HttpResponseRedirect
from django.shortcuts import render
from django.template.context_processors import csrf
from django.urls import reverse
from django.utils import timezone
from django.views.decorators.cache import never_cache
try:
from django.core.urlresolvers import reverse
except:
from django.urls import reverse
from .Common import send
from .models import User_Keys
from .views import login