From 8f0e4cf6a17588a5d370b82de9d2b2fbdeca0ea7 Mon Sep 17 00:00:00 2001 From: florapdx Date: Wed, 24 Apr 2013 13:47:42 -0700 Subject: [PATCH] change behavior so that admin can add sponsor logos/text in-dashboard --- symposion/sponsorship/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/symposion/sponsorship/views.py b/symposion/sponsorship/views.py index 99d37b1b..c855e92f 100644 --- a/symposion/sponsorship/views.py +++ b/symposion/sponsorship/views.py @@ -35,7 +35,9 @@ def sponsor_add(request): sponsor = form.save(commit=False) sponsor.active = True sponsor.save() - return redirect("dashboard") + return redirect("sponsor_detail", pk=sponsor.pk) + # changing default behavior (below) so that admins can add text/logos/files in-dashboard + # return redirect("dashboard") else: form = SponsorApplicationForm(user=request.user)