Browse Source

Update

master
Lukas Weber 2 years ago
parent
commit
f96ca949f0
3 changed files with 109 additions and 1 deletions
  1. 91
    1
      .gitignore
  2. 16
    0
      templates/base.html
  3. 2
    0
      templates/posts/index.html

+ 91
- 1
.gitignore View File

@@ -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/


+ 16
- 0
templates/base.html View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>My first page</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="jumbotron">
{% block body %} Platzhalter {% endblock body %}
</div>
</body>
</html>

+ 2
- 0
templates/posts/index.html View File

@@ -0,0 +1,2 @@
{% extends "base.html" %}
{% block body %} <h1> sytle="text-align:center" {{ name }} </h1> {% endblock body %}

Loading…
Cancel
Save