diff --git a/blogapp/templates/blogapp/blogdetail.html b/blogapp/templates/blogapp/blogdetail.html index 75866ba..6ef8fb9 100644 --- a/blogapp/templates/blogapp/blogdetail.html +++ b/blogapp/templates/blogapp/blogdetail.html @@ -24,15 +24,16 @@ {% endif %} - +

{% for comment in blogentry.blogcomment_set.all %} {% if comment.user %} -

{{ comment.user.username }} says:

+{{ comment.user.username }} says: {% else %} -

{{ comment.guestname }} says:

+{{ comment.guestname }} says: {% endif %} -{{ comment.body|linebreaks }}
-{{ comment.date }} +
{{ comment.date }}
+{{ comment.body|linebreaks }} +
{% endfor %} {% if false %} diff --git a/db.sqlite3 b/db.sqlite3 index 3fd3ea8..80ffb27 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/polysite/settings.py b/polysite/settings.py index 4a40f8a..e363e64 100644 --- a/polysite/settings.py +++ b/polysite/settings.py @@ -20,7 +20,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'c=62ybp2ppak&@1r+x(cc)u+iw9%ljsq8-w10h9a14##)51yh3' +SECRET_KEY = 'somesecretkey' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True diff --git a/static/general.css b/static/general.css index a0b8457..b8776ed 100644 --- a/static/general.css +++ b/static/general.css @@ -76,3 +76,7 @@ div#footer{ display: table; clear: both; } + +textarea { + width: 100%; +} diff --git a/templates/base.html b/templates/base.html index 15157e4..d433d9f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -41,7 +41,9 @@ Blog Post Categories:
Recent Posts: