From: Aleksander Ɓukasz Date: Wed, 30 Oct 2013 11:24:25 +0000 (+0100) Subject: Skelton of the contest page X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/debff91e06a05ff54c961f0e789848c4d582e82f Skelton of the contest page --- diff --git a/edumed/settings.d/30-apps.py b/edumed/settings.d/30-apps.py index 7091ff1..f7defa1 100644 --- a/edumed/settings.d/30-apps.py +++ b/edumed/settings.d/30-apps.py @@ -3,6 +3,7 @@ INSTALLED_APPS = ( 'curriculum', 'catalogue', 'comment', + 'wtem', 'fnpdjango', 'south', diff --git a/edumed/urls.py b/edumed/urls.py index 059821b..fb09204 100644 --- a/edumed/urls.py +++ b/edumed/urls.py @@ -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'^wtem/', include('wtem.urls')), ) diff --git a/wtem/__init__.py b/wtem/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/wtem/templates/wtem/main.html b/wtem/templates/wtem/main.html new file mode 100644 index 0000000..22f919d --- /dev/null +++ b/wtem/templates/wtem/main.html @@ -0,0 +1 @@ +{% extends 'base_super.html' %} diff --git a/wtem/urls.py b/wtem/urls.py new file mode 100644 index 0000000..4fc156e --- /dev/null +++ b/wtem/urls.py @@ -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 index 0000000..ae1f64b --- /dev/null +++ b/wtem/views.py @@ -0,0 +1,4 @@ +from django.shortcuts import render + +def main(request): + return render(request, 'wtem/main.html') \ No newline at end of file