App Engine Python SDK version 1.7.4 (2)
[gae.git] / python / lib / django_1_4 / tests / regressiontests / special_headers / urls.py
blob2e6a305bf024f13349d896f7d8b716100d2fbde3
1 # coding: utf-8
2 from __future__ import absolute_import
4 from django.conf.urls import patterns
5 from django.views.generic.list_detail import object_detail
7 from . import views
8 from .models import Article
10 urlpatterns = patterns('',
11 (r'^special_headers/article/(?P<object_id>\d+)/$', object_detail, {'queryset': Article.objects.all()}),
12 (r'^special_headers/xview/func/$', views.xview_dec(views.xview)),
13 (r'^special_headers/xview/class/$', views.xview_dec(views.XViewClass.as_view())),