mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Remove Admin
This commit is contained in:
@@ -73,7 +73,6 @@ LANGUAGE_COOKIE_NAME = 'pretix_language'
|
|||||||
CSRF_COOKIE_NAME = 'pretix_csrftoken'
|
CSRF_COOKIE_NAME = 'pretix_csrftoken'
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'django.contrib.admin',
|
|
||||||
'django.contrib.auth',
|
'django.contrib.auth',
|
||||||
'django.contrib.contenttypes',
|
'django.contrib.contenttypes',
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import importlib
|
import importlib
|
||||||
from django.apps import apps
|
from django.apps import apps
|
||||||
from django.conf.urls import include, url
|
from django.conf.urls import include, url
|
||||||
from django.contrib import admin
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
import pretix.control.urls
|
import pretix.control.urls
|
||||||
@@ -10,7 +9,6 @@ import pretix.presale.urls
|
|||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^control/', include(pretix.control.urls, namespace='control')),
|
url(r'^control/', include(pretix.control.urls, namespace='control')),
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
|
||||||
# The pretixpresale namespace is configured at the bottom of this file, because it
|
# The pretixpresale namespace is configured at the bottom of this file, because it
|
||||||
# contains a wildcard-style URL which has to be configured _after_ debug settings.
|
# contains a wildcard-style URL which has to be configured _after_ debug settings.
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user