Re-enable admin interface

This commit is contained in:
Amazed 2018-12-19 13:30:57 +01:00
parent 2876fe663d
commit 3d8566af04

View File

@ -22,6 +22,6 @@ base_path = urllib.parse.urlparse(settings.BASE_URL).path[1:]
urlpatterns = [ urlpatterns = [
path(base_path+'/admin/', admin.site.urls), path(base_path+'/admin/' if base_path else 'admin/', admin.site.urls),
url(base_path+'/' if base_path else '', include('web.urls')), url(base_path+'/' if base_path else '', include('web.urls')),
] ]