diff options
Diffstat (limited to 'page')
-rw-r--r-- | page/__init__.py | 0 | ||||
-rw-r--r-- | page/admin.py | 3 | ||||
-rw-r--r-- | page/models.py | 3 | ||||
-rw-r--r-- | page/tests.py | 3 | ||||
-rw-r--r-- | page/urls.py | 13 | ||||
-rw-r--r-- | page/views.py | 3 |
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. |