Browse Source

Importação de filterspecs para registro de novos filtros do admin.

0.2
Guilherme Gondim 17 years ago
parent
commit
3128d9929c
  1. 4
      sigi/urls.py

4
sigi/urls.py

@ -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')),

Loading…
Cancel
Save