Skelton of the contest page
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 30 Oct 2013 11:24:25 +0000 (12:24 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 15 Jan 2014 10:18:53 +0000 (11:18 +0100)
edumed/settings.d/30-apps.py
edumed/urls.py
wtem/__init__.py [new file with mode: 0644]
wtem/templates/wtem/main.html [new file with mode: 0644]
wtem/urls.py [new file with mode: 0644]
wtem/views.py [new file with mode: 0644]

index 7091ff1..f7defa1 100644 (file)
@@ -3,6 +3,7 @@ INSTALLED_APPS = (
     'curriculum',
     'catalogue',
     'comment',
     'curriculum',
     'catalogue',
     'comment',
+    'wtem',
 
     'fnpdjango',
     'south',
 
     'fnpdjango',
     'south',
index 059821b..fb09204 100644 (file)
@@ -15,6 +15,7 @@ urlpatterns = patterns('',
     url(r'^forum/', include('forum.urls')),
     url(r'^forum/', include('pybb.urls', namespace='pybb')),
     url(r'^kompetencje/', include('curriculum.urls')),
     url(r'^forum/', include('forum.urls')),
     url(r'^forum/', include('pybb.urls', namespace='pybb')),
     url(r'^kompetencje/', include('curriculum.urls')),
+    url(r'^wtem/', include('wtem.urls')),
 )
 
 
 )
 
 
diff --git a/wtem/__init__.py b/wtem/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/wtem/templates/wtem/main.html b/wtem/templates/wtem/main.html
new file mode 100644 (file)
index 0000000..22f919d
--- /dev/null
@@ -0,0 +1 @@
+{% extends 'base_super.html' %}
diff --git a/wtem/urls.py b/wtem/urls.py
new file mode 100644 (file)
index 0000000..4fc156e
--- /dev/null
@@ -0,0 +1,6 @@
+from django.conf.urls import patterns, url
+from .views import main
+
+urlpatterns = patterns('',
+    url(r'^$', main, name = 'wtem_main')
+)
\ No newline at end of file
diff --git a/wtem/views.py b/wtem/views.py
new file mode 100644 (file)
index 0000000..ae1f64b
--- /dev/null
@@ -0,0 +1,4 @@
+from django.shortcuts import render
+
+def main(request):
+    return render(request, 'wtem/main.html')
\ No newline at end of file