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'])