PageRenderTime 54ms CodeModel.GetById 51ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/django/conf/urls/shortcut.py

https://code.google.com/p/mango-py/
Python | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | f3924265c0c0745d83477637a2d27304 MD5 | raw file
1from django.conf.urls.defaults import *
2
3urlpatterns = patterns('django.views',
4    (r'^(?P<content_type_id>\d+)/(?P<object_id>.*)/$', 'defaults.shortcut'),
5)