2013-03-15 03:28:24 +08:00
|
|
|
import warnings
|
|
|
|
|
2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns
|
2005-07-13 09:25:57 +08:00
|
|
|
|
2013-03-15 03:28:24 +08:00
|
|
|
warnings.warn("django.conf.urls.shortcut will be removed in Django 1.8.",
|
|
|
|
PendingDeprecationWarning)
|
|
|
|
|
2005-07-13 09:25:57 +08:00
|
|
|
urlpatterns = patterns('django.views',
|
2008-01-28 13:36:44 +08:00
|
|
|
(r'^(?P<content_type_id>\d+)/(?P<object_id>.*)/$', 'defaults.shortcut'),
|
2005-07-13 09:25:57 +08:00
|
|
|
)
|