diff news/views.py @ 998:e2c3d7ecfa30

Added tests for submit news.
author Brian Neal <bgneal@gmail.com>
date Fri, 20 Nov 2015 23:07:37 -0600
parents 19b86e684cc2
children c6c3ba5cf6eb
line wrap: on
line diff
--- a/news/views.py	Tue Nov 17 21:01:20 2015 -0600
+++ b/news/views.py	Fri Nov 20 23:07:37 2015 -0600
@@ -143,7 +143,7 @@
         add_form = AddNewsForm(request.POST)
         if add_form.is_valid():
             add_form.save(request.user)
-            return HttpResponseRedirect(reverse('news.views.submit_thanks'))
+            return HttpResponseRedirect(reverse('news-submit_thanks'))
     else:
         add_form = AddNewsForm()