changeset 307 | c6bca38c1cbf |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parts/django/tests/regressiontests/special_headers/urls.py Sat Jan 08 11:20:57 2011 +0530 @@ -0,0 +1,10 @@ +# coding: utf-8 +from django.conf.urls.defaults import * +from django.views.generic.list_detail import object_detail +from models import Article +import views + +urlpatterns = patterns('', + (r'^article/(?P<object_id>\d+)/$', object_detail, {'queryset': Article.objects.all()}), + (r'^xview/$', views.xview), +)