From f96ca949f028a75cced61d3cd339ecf6ef6e8a76 Mon Sep 17 00:00:00 2001 From: weberlu73701 Date: Wed, 24 Nov 2021 11:30:38 +0100 Subject: [PATCH] Update --- .gitignore | 92 +++++++++++++++++++++++++++++++++++++- templates/base.html | 16 +++++++ templates/posts/index.html | 2 + 3 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 templates/base.html create mode 100644 templates/posts/index.html diff --git a/.gitignore b/.gitignore index 3eae80e..5c82429 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,91 @@ -/db.sqlite3 +### OSX ### +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo +*.pot + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + + +### Django ### +*.log +*.pot +*.pyc +**__pycache__/ +local_settings.py + +.env +**/db.sqlite3 + +# PyCharm +**/.idea/ + diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..b0c7b59 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,16 @@ + + + + My first page + + + + + + + +
+ {% block body %} Platzhalter {% endblock body %} +
+ + \ No newline at end of file diff --git a/templates/posts/index.html b/templates/posts/index.html new file mode 100644 index 0000000..de32063 --- /dev/null +++ b/templates/posts/index.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} +{% block body %}

sytle="text-align:center" {{ name }}

{% endblock body %} \ No newline at end of file