|
@ -2,6 +2,7 @@ from django.conf import settings |
|
|
from django.conf.urls.defaults import * |
|
|
from django.conf.urls.defaults import * |
|
|
from django.contrib import databrowse |
|
|
from django.contrib import databrowse |
|
|
from django.db.models import get_models |
|
|
from django.db.models import get_models |
|
|
|
|
|
import sigi.admin.filterspecs |
|
|
from sigi import sites |
|
|
from sigi import sites |
|
|
|
|
|
|
|
|
map(databrowse.site.register, get_models()) |
|
|
map(databrowse.site.register, get_models()) |
|
@ -12,9 +13,6 @@ urlpatterns = patterns( |
|
|
# databrowse |
|
|
# databrowse |
|
|
(r'^databrowse/(.*)', databrowse.site.root), |
|
|
(r'^databrowse/(.*)', databrowse.site.root), |
|
|
|
|
|
|
|
|
# bug report |
|
|
|
|
|
#(r'^bug_report/$', 'sigi.views.bug_report'), |
|
|
|
|
|
|
|
|
|
|
|
# admin docs |
|
|
# admin docs |
|
|
(r'^doc/', include('django.contrib.admindocs.urls')), |
|
|
(r'^doc/', include('django.contrib.admindocs.urls')), |
|
|
|
|
|
|
|
|