parts/django/tests/regressiontests/special_headers/urls.py
changeset 307 c6bca38c1cbf
equal deleted inserted replaced
306:5ff1fc726848 307:c6bca38c1cbf
       
     1 # coding: utf-8
       
     2 from django.conf.urls.defaults import *
       
     3 from django.views.generic.list_detail import object_detail
       
     4 from models import Article
       
     5 import views
       
     6 
       
     7 urlpatterns = patterns('',
       
     8     (r'^article/(?P<object_id>\d+)/$', object_detail, {'queryset': Article.objects.all()}),
       
     9     (r'^xview/$', views.xview),
       
    10 )