1
Fork 0

Removed admin system

This commit is contained in:
Jake Howard 2016-01-24 21:57:58 +00:00
parent 05f9a5b1d5
commit 18d57477e9
2 changed files with 0 additions and 4 deletions

View file

@ -18,11 +18,9 @@ ALLOWED_HOSTS = ['too.ctf.sh', 'theorangeone.net']
# Application definition # Application definition
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',
'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'bootstrapform', 'bootstrapform',

View file

@ -1,12 +1,10 @@
from django.conf.urls import include, url from django.conf.urls import include, url
from django.contrib import admin
from django_client_reverse import urls as reverse_urls from django_client_reverse import urls as reverse_urls
from project.pages.views import Custom404View, NoJavascriptView from project.pages.views import Custom404View, NoJavascriptView
urlpatterns = [ urlpatterns = [
url(r'^reverse/$', include(reverse_urls, namespace='reverser')), url(r'^reverse/$', include(reverse_urls, namespace='reverser')),
url(r'^site-admin/', include(admin.site.urls)),
url(r'^404/', Custom404View.as_view(), name="404"), url(r'^404/', Custom404View.as_view(), name="404"),
url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"), url(r'^no-js/', NoJavascriptView.as_view(), name="no-js"),
url(r'', include('project.pages.urls', namespace='pages')) url(r'', include('project.pages.urls', namespace='pages'))