aboutsummaryrefslogtreecommitdiffstats
path: root/page
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
commita4d102896cd261ced64316fce45dd264a797a903 (patch)
treef8a06526f5817b7e3f7b7a08de9434766c6b1a9a /page
parenta50364c081a5aa4857223474207c154cb82896ee (diff)
downloaddjango-skaschool-a4d102896cd261ced64316fce45dd264a797a903.tar.bz2
* updated settings.py, added settings_email.py
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'
Diffstat (limited to 'page')
-rw-r--r--page/__init__.py0
-rw-r--r--page/admin.py3
-rw-r--r--page/models.py3
-rw-r--r--page/tests.py3
-rw-r--r--page/urls.py13
-rw-r--r--page/views.py3
6 files changed, 25 insertions, 0 deletions
diff --git a/page/__init__.py b/page/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/page/__init__.py
diff --git a/page/admin.py b/page/admin.py
new file mode 100644
index 0000000..8c38f3f
--- /dev/null
+++ b/page/admin.py
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/page/models.py b/page/models.py
new file mode 100644
index 0000000..71a8362
--- /dev/null
+++ b/page/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
diff --git a/page/tests.py b/page/tests.py
new file mode 100644
index 0000000..7ce503c
--- /dev/null
+++ b/page/tests.py
@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.
diff --git a/page/urls.py b/page/urls.py
new file mode 100644
index 0000000..daef1aa
--- /dev/null
+++ b/page/urls.py
@@ -0,0 +1,13 @@
+# -*- coding: utf-8 -*-
+#
+# urls.py for app 'page'
+#
+
+from django.conf.urls import patterns, include, url
+from django.views.generic.base import TemplateView
+
+urlpatterns = patterns('',
+ url(r'^test/$', TemplateView.as_view(template_name='test.html'),
+ name='test'),
+)
+
diff --git a/page/views.py b/page/views.py
new file mode 100644
index 0000000..91ea44a
--- /dev/null
+++ b/page/views.py
@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.