diff --git a/seminar/templates/seminar/problem.html b/seminar/templates/seminar/problem.html new file mode 100644 index 00000000..b8731efa --- /dev/null +++ b/seminar/templates/seminar/problem.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% load cms_tags staticfiles sekizai_tags menu_tags %} + +{% block content %} +
+

Problém {{ problem.nazev }}

+ +

Text

+ {% render_placeholder problem.text_problemu %} + + {% if True %} +
+

Text - org

+ {% render_placeholder problem.text_problemu_org %} +
+ {% endif %} + +
+{% endblock content %} + diff --git a/seminar/urls.py b/seminar/urls.py new file mode 100644 index 00000000..79b55192 --- /dev/null +++ b/seminar/urls.py @@ -0,0 +1,6 @@ +from django.conf.urls import patterns, url +from . import views + +urlpatterns = patterns('', + url(r'^problem/(?P\d+)/$', views.ProblemView.as_view(), name='problem'), +)