mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
8c0eefd066
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
15 lines
496 B
Python
15 lines
496 B
Python
# coding: utf-8
|
|
from __future__ import absolute_import
|
|
|
|
from django.conf.urls import patterns
|
|
from django.views.generic.list_detail import object_detail
|
|
|
|
from . import views
|
|
from .models import Article
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^special_headers/article/(?P<object_id>\d+)/$', object_detail, {'queryset': Article.objects.all()}),
|
|
(r'^special_headers/xview/func/$', views.xview_dec(views.xview)),
|
|
(r'^special_headers/xview/class/$', views.xview_dec(views.XViewClass.as_view())),
|
|
)
|