diff --git a/db.sqlite3 b/db.sqlite3 index de9576d..5ac2eab 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/news/__pycache__/urls.cpython-37.pyc b/news/__pycache__/urls.cpython-37.pyc index d4a18e7..a5938bb 100644 Binary files a/news/__pycache__/urls.cpython-37.pyc and b/news/__pycache__/urls.cpython-37.pyc differ diff --git a/news/__pycache__/views.cpython-37.pyc b/news/__pycache__/views.cpython-37.pyc index ff1fc45..4a38b52 100644 Binary files a/news/__pycache__/views.cpython-37.pyc and b/news/__pycache__/views.cpython-37.pyc differ diff --git a/news/templates/base.html b/news/templates/base.html index c5fe7ab..c1d82d0 100644 --- a/news/templates/base.html +++ b/news/templates/base.html @@ -26,6 +26,8 @@
{% if user.is_authenticated %}
+ [ {{ user.username }} ]
+
Submit
Log out
diff --git a/news/templates/news/index.html b/news/templates/news/index.html
index 58d422b..97a782f 100644
--- a/news/templates/news/index.html
+++ b/news/templates/news/index.html
@@ -79,7 +79,7 @@
-
+
+ {% for message in messages %} + {{ message }} + {% endfor %} +
+ {% endif %} + +{% for message in messages %} -
{% for message in messages %} -