1. Kai Diefenbach
  2. lfc-buildout-development
  3. Issues
Issue #1 new

Wrong url mapping

Anton Litvinov
created an issue

to map the admin URLs in Django 1.1 and higher one must use the following syntax: {{{

!python

urlpatterns = patterns('', (r'^admin/', include(admin.site.urls)), ) }}}

The old syntax {{{

!python

urlpatterns = patterns('', (r'^admin/(.*)', admin.site.root)), )

}}} was deprecated in Django 1.1 and in Django 1.3 doesn't work.