PageRenderTime 41ms CodeModel.GetById 15ms RepoModel.GetById 0ms 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
Possible License(s): BSD-3-Clause
  1. from django.conf.urls.defaults import *
  2. urlpatterns = patterns('django.views',
  3. (r'^(?P<content_type_id>\d+)/(?P<object_id>.*)/$', 'defaults.shortcut'),
  4. )