Skip to content

Commit

Permalink
Housecleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenYX committed Nov 12, 2014
1 parent 761bf90 commit a067719
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Binary file modified messageboard/db.sqlite3
Binary file not shown.
4 changes: 1 addition & 3 deletions messageboard/mainsite/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def tableview(request):
tag.delete()
except Tag.DoesNotExist:
pass # Do nothing is tag doesn't exist
return render(request, 'tableview.html', {
'topics': topic_list,
'messages': message_list})
return HttpResponseRedirect(reverse('mainsite:messageboard'))
elif "POST_filter" in request.POST:
tag_name = request.POST['tag_name']
# If tag field is not empty, filter by tag if it exists.
Expand Down

0 comments on commit a067719

Please sign in to comment.