mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Readded admin
This commit is contained in:
parent
b25f26ebbb
commit
08574a4a3b
2 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,7 @@ INSTALLED_APPS = (
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.sites',
|
||||
'django.contrib.staticfiles',
|
||||
'django.contrib.admin',
|
||||
'mptt',
|
||||
'pastebin',
|
||||
'pastebin.apps.dpaste',
|
||||
|
|
|
@ -13,6 +13,8 @@ urlpatterns = patterns('',
|
|||
# Static
|
||||
url(r'^about/$', 'django.views.generic.simple.direct_to_template', {'template': 'about.html'}, name='about'),
|
||||
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
|
||||
# API
|
||||
url(r'^api/(?P<secret_id>[^/]+)/$', snippet_resource),
|
||||
url(r'^api/$', snippet_resource),
|
||||
|
|
Loading…
Reference in a new issue