Remove password_reset and own login, redirect to admin/login

Django admin login to be used. Thus we should be able to upgrade to
Django2.0
This commit is contained in:
Aarni Halinen
2018-07-17 20:58:13 +03:00
parent cc3aa66e49
commit 11b6e68fe1
20 changed files with 40 additions and 165 deletions
-1
View File
@@ -102,7 +102,6 @@ INSTALLED_APPS = [
'auditlog',
'phonenumber_field',
'import_export',
'password_reset',
]
IMPORT_EXPORT_USE_TRANSACTIONS = True
-2
View File
@@ -26,7 +26,6 @@ import webapp.urls
import infoscreen.urls
import members.urls
import coffee_scale.urls
import password_reset.urls
urlpatterns = [
url(r'', include('webapp.urls')),
@@ -38,7 +37,6 @@ urlpatterns = [
# admin
url(r'^admin/', admin.site.urls),
url(r'^reset/', include('password_reset.urls')),
# i18n default view for changing the active language
url(r'^i18n/', include('django.conf.urls.i18n')),