Commit 835f4935 authored by fred's avatar fred

adjust for django 2.2

(and disable /admin/ along the way)
parent efccdcd5
......@@ -7,7 +7,7 @@ import uuid
from django import template
from django.conf import settings
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.db.models.query import QuerySet
from django.utils.encoding import force_text
from django.utils.http import quote
......
......@@ -154,8 +154,6 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
'haystack',
'taggit',
'gadjo',
......
......@@ -2,9 +2,7 @@ from django.conf.urls import include, url
from django.conf import settings
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from django.contrib import admin
from django.urls import reverse_lazy
from . import search
from . import views
......@@ -58,8 +56,6 @@ urlpatterns = [
url(r'^podcasts.rss$', views.podcasts_feed, name='podcasts-feed'),
url(r'^newsletter/', include('newsletter.urls')),
url(r'^__webstats/', include(webstats_urlpatterns)),
url(r'^admin/', include(admin.site.urls)),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
]
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
......
......@@ -5,7 +5,7 @@ import os
import stat
import time
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.conf import settings
from django.http import Http404, JsonResponse
from django.utils.encoding import force_text
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment