mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-27 01:31:57 +00:00
enable admin url
This commit is contained in:
parent
27e65fada2
commit
69dd36bdb5
3
urls.py
3
urls.py
@ -9,6 +9,7 @@ from core.models import *
|
||||
from django.views.generic.create_update import create_object
|
||||
from django.contrib import admin
|
||||
from django.views.generic.list_detail import object_list
|
||||
from django.contrib import admin
|
||||
admin.autodiscover()
|
||||
|
||||
urlpatterns = patterns('',
|
||||
@ -67,7 +68,7 @@ urlpatterns = patterns('',
|
||||
url(r'^eyecandy$', views_other.eyecandy),
|
||||
|
||||
(r'^admin/doc/?', include('django.contrib.admindocs.urls')),
|
||||
#(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^admin/(.*)', admin.site.root, name="admin"),
|
||||
|
||||
(r'^accounts/', include('registration.urls')),
|
||||
(r'^profiles/', include('profiles.urls')),
|
||||
|
Loading…
Reference in New Issue
Block a user