Commit 95f11be5 authored by Hänzelmann, Antje's avatar Hänzelmann, Antje
Browse files

Show_todo

parent 24633de1
......@@ -18,16 +18,17 @@ from django.contrib import admin
from django.urls import path
from django.views.i18n import JavaScriptCatalog
from todo.views import get_landing_page, get_selection_page, add_todo, get_impressum
from todo.views import get_landing_page, get_selection_page, add_todo, get_impressum, get_show_todo
urlpatterns = [
urlpatterns = {
path('admin/', admin.site.urls),
path('start/', get_landing_page, name='landing_page'),
path('', get_landing_page, name='landing_page'),
path('selection/', get_selection_page, name='selection_page'),
path('todo/add/', add_todo, name='add_todo'),
path('impressum/', get_impressum, name='impressum'),
]
path('show_todo/', get_show_todo, name='show_todo'),
}
# according to https://django-recurrence.readthedocs.io/en/latest/installation.html
js_info_dict = {
......
......@@ -42,5 +42,4 @@
21900 Hamburg <br>
</p>
{% endblock %}
\ No newline at end of file
{% extends 'todo/base.html' %}
{% load bootstrap4 %}
{% block content %}
{% endblock %}
\ No newline at end of file
......@@ -90,6 +90,8 @@ def get_selection_page(request):
def get_impressum(request):
content = {'page_title': 'Impressum'}
return render(request, 'todo/impressum.html', content)
def get_show_todo(request):
content = {'page_title': 'show_todo'}
return render(request, 'todo/show_todo.html', content)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment