diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-19 00:42:18 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-01-19 00:42:18 -0300 |
commit | 27d7ccd7a928da74a881cf4fbd508e23613780fa (patch) | |
tree | ebed6ca44c1a5512b272685234ddfbb76fba76d8 /news/views.py | |
parent | 755a03d279631138cb982dc07b2d67b341a4f99c (diff) | |
parent | 523a15f81e819379d1d9ae8412ebd8a7c017a512 (diff) |
Merge branch 'master' of git://projects.archlinux.org/archweb
Conflicts:
templates/devel/clock.html
templates/packages/group_details.html
templates/packages/groups.html
Diffstat (limited to 'news/views.py')
-rw-r--r-- | news/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/news/views.py b/news/views.py index f3d7312f..990ee154 100644 --- a/news/views.py +++ b/news/views.py @@ -56,7 +56,7 @@ def add(request): newsitem.author = request.user newsitem.slug = find_unique_slug(newsitem) newsitem.save() - return redirect(newsitem.get_absolute_url()) + return redirect(newsitem) else: form = NewsForm() return direct_to_template(request, 'news/add.html', { 'form': form }) |