From 1caa134d1b2250c60bc7ad47dc7aeccc3d343212 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Mon, 10 Aug 2015 15:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E5=B0=91=20test=20u?= =?UTF-8?q?rl=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/test_urls.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 admin/test_urls.py diff --git a/admin/test_urls.py b/admin/test_urls.py new file mode 100644 index 00000000..9f993aaa --- /dev/null +++ b/admin/test_urls.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from django.conf.urls import include, url +from django.views.generic import TemplateView + + +urlpatterns = [ + url(r'^admin/$', TemplateView.as_view(template_name="admin/admin.html"), name="admin_spa_page"), + url(r'^api/admin/test/$', "admin.tests.middleware_test_func"), + url(r'^login/$', TemplateView.as_view(template_name="oj/account/login.html"), name="user_login_page"), +]