Commits

Raphael Lullis  committed b3384c4

Adding admin site

  • Participants
  • Parent commits d7030f1

Comments (0)

Files changed (1)

 from django.conf.urls.defaults import include, url, patterns
 from django.conf import settings
+from django.contrib import admin
+
 from apps.reader import views as reader_views
 from apps.static import views as static_views
 
-urlpatterns = patterns('',
+
+admin.autodiscover()
+
+urlpatterns = patterns(
+    '',
     url(r'^$',              reader_views.index, name='index'),
+    url(r'^admin/', include(admin.site.urls)),
     (r'^reader/',           include('apps.reader.urls')),
     (r'^add/?',             reader_views.index),
     (r'^try/?',             reader_views.index),