Comment 3 for bug 920084

Revision history for this message
benste (benste) wrote : Re: [Bug 920084] Re: Add domain: user feedback

I'll take a look at this this evening - as i posted earlier messages
apply for Redering templates - they can't be passed using the redirect
function.

On 03/02/2012 11:46, Florian Fuchs wrote:
> IMO we definitely need some kind of feedback. At the moment the "add
> domain" view only returns some feedback if the action fails (through
> form validation). What's missing is a success message.
>
> I suggest on of these two quite common solutions:
>
> 1.) Successful adding of a domain redirects to a domain detail page,
> where all of the domain's info is displayed, along with a success
> message.
>
> or:
>
> 2.) Redirect to the domain index page, also by displaying a success
> message.
>
> Usually I would opt for solution 1. But since the amount of info per
> domain is rather small, I think the second solution would also be OK in
> this case. Both solutions could be very easily implemented by using
> Django's messaging framework:
>
> https://docs.djangoproject.com/en/1.3/ref/contrib/messages/
>