From eba0b779cb9dcd4fabfed294c5f49a0786a05be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jm=C3=A9no=20P=C5=99=C3=ADjmen=C3=AD?= Date: Fri, 6 Nov 2020 11:44:56 +0100 Subject: [PATCH] =?UTF-8?q?p=C5=99id=C3=A1na=20aplikace=20stranky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog/settings/base.py | 1 + blog/templates/base.html | 3 ++ stranky/__init__.py | 0 stranky/admin.py | 3 ++ stranky/apps.py | 5 +++ stranky/migrations/0001_initial.py | 44 +++++++++++++++++++++ stranky/migrations/__init__.py | 0 stranky/models.py | 35 ++++++++++++++++ stranky/templates/stranky/stranka_page.html | 20 ++++++++++ stranky/tests.py | 3 ++ stranky/views.py | 3 ++ 11 files changed, 117 insertions(+) create mode 100644 stranky/__init__.py create mode 100644 stranky/admin.py create mode 100644 stranky/apps.py create mode 100644 stranky/migrations/0001_initial.py create mode 100644 stranky/migrations/__init__.py create mode 100644 stranky/models.py create mode 100644 stranky/templates/stranky/stranka_page.html create mode 100644 stranky/tests.py create mode 100644 stranky/views.py diff --git a/blog/settings/base.py b/blog/settings/base.py index 95f0f94..c7e4305 100644 --- a/blog/settings/base.py +++ b/blog/settings/base.py @@ -49,6 +49,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'zapisnik', + 'stranky', ] MIDDLEWARE = [ diff --git a/blog/templates/base.html b/blog/templates/base.html index 0852996..71a01a4 100644 --- a/blog/templates/base.html +++ b/blog/templates/base.html @@ -41,6 +41,9 @@ +