Tomas Gavenciak
10 years ago
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||
{% extends "base.html" %} |
|||
{% load cms_tags staticfiles sekizai_tags menu_tags %} |
|||
|
|||
{% block content %} |
|||
<div> |
|||
<h2>Problém {{ problem.nazev }}</h2> |
|||
|
|||
<h3>Text</h3> |
|||
{% render_placeholder problem.text_problemu %} |
|||
|
|||
{% if True %} |
|||
<div class='mam-org-only'> |
|||
<h3>Text - org</h3> |
|||
{% render_placeholder problem.text_problemu_org %} |
|||
</div> |
|||
{% endif %} |
|||
|
|||
</div> |
|||
{% endblock content %} |
|||
|
@ -0,0 +1,6 @@ |
|||
from django.conf.urls import patterns, url |
|||
from . import views |
|||
|
|||
urlpatterns = patterns('', |
|||
url(r'^problem/(?P<pk>\d+)/$', views.ProblemView.as_view(), name='problem'), |
|||
) |
Loading…
Reference in new issue