2010-01-11 01:21:52 +08:00
|
|
|
# coding: utf-8
|
2011-10-14 05:34:56 +08:00
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns
|
2011-10-14 05:34:56 +08:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
from .models import Article
|
2010-01-11 01:21:52 +08:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2012-04-26 03:17:47 +08:00
|
|
|
(r'^special_headers/article/(?P<object_id>\d+)/$', views.xview_xheaders),
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^special_headers/xview/func/$', views.xview_dec(views.xview)),
|
|
|
|
(r'^special_headers/xview/class/$', views.xview_dec(views.XViewClass.as_view())),
|
2010-01-11 01:21:52 +08:00
|
|
|
)
|