2010-08-14 23:50:46 +08:00
|
|
|
# A URLs file that doesn't use the default
|
2011-09-12 06:36:16 +08:00
|
|
|
# from django.conf.urls import *
|
2010-08-14 23:50:46 +08:00
|
|
|
# import pattern.
|
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, url
|
2011-10-14 05:34:56 +08:00
|
|
|
|
|
|
|
from .views import empty_view, bad_view
|
|
|
|
|
2010-08-14 23:50:46 +08:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
url(r'^test_view/$', empty_view, name="test_view"),
|
|
|
|
url(r'^bad_view/$', bad_view, name="bad_view"),
|
|
|
|
)
|