Permalink
Browse files

Enable admin

  • Loading branch information...
1 parent 1c3873c commit 3326f7d10478cf2730e07109a3da127662e6f766 @coderanger committed Jul 30, 2011
Showing with 4 additions and 8 deletions.
  1. +1 −4 glitchtools/settings.py
  2. +3 −4 glitchtools/urls.py
View
@@ -117,10 +117,7 @@
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
- # Uncomment the next line to enable the admin:
- # 'django.contrib.admin',
- # Uncomment the next line to enable admin documentation:
- # 'django.contrib.admindocs',
+ 'django.contrib.admin',
'glitchtools.auth',
'glitchtools.core',
)
View
@@ -1,11 +1,10 @@
from django.conf.urls.defaults import patterns, include, url
-# Uncomment the next two lines to enable the admin:
-# from django.contrib import admin
-# admin.autodiscover()
+from django.contrib import admin
+admin.autodiscover()
urlpatterns = patterns('',
- # url(r'^admin/', include(admin.site.urls)),
+ url(r'^admin/', include(admin.site.urls)),
url(r'^login/', include('glitchtools.auth.urls')),
url(r'', 'glitchtools.core.views.comingsoon'),
)

0 comments on commit 3326f7d

Please sign in to comment.