From 18d235ca31bd7b741cd360f2a0dbcc94597df208 Mon Sep 17 00:00:00 2001 From: Martin Bley Date: Mon, 25 Jan 2016 07:58:55 +0100 Subject: [PATCH] Added comment --- tipp/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tipp/views.py b/tipp/views.py index 773798c..1add4ea 100644 --- a/tipp/views.py +++ b/tipp/views.py @@ -448,6 +448,8 @@ def newBlogpost(request): # check whether it's valid: if form.is_valid(): # process the data + # fix me + # What to to, if subject is empty? data = form.cleaned_data slug = slugify(data['title']) p = Post(author_id=request.user.id, slug=slug, title=data['title'], content=data['content'])