Mercurial > public > sg101
diff bandmap/views.py @ 825:d91356818cef
Bandmap WIP: added test to add band.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 25 Sep 2014 21:15:22 -0500 |
parents | 71db8076dc3d |
children | 5103edd3acc4 |
line wrap: on
line diff
--- a/bandmap/views.py Wed Sep 24 21:22:24 2014 -0500 +++ b/bandmap/views.py Thu Sep 25 21:15:22 2014 -0500 @@ -28,7 +28,7 @@ band.user = request.user band.save() django_messages.success(request, SUCCESS.format(band.name)) - redirect('bandmap-add') + return redirect('bandmap-add') else: form = BandForm()