Friday, June 29, 2012

Re: Redirect question

Also I would like you to point out if I did something here that could have been done in better way so I can do it right and learn for the future.

If you're using Class Based Views, you can use a mixin to achieve this. Here's mine if you want to check it out: (Scroll Down to the Bottom)

This may be a bit advanced for you at the moment but it works really well for me. You can ignore most all of the other code in that posting and just focus on the MessageMixin. Also, see the documentation link posted by Daniel Roseman. The messaging framework is the way to go for passing on a "Success" or some type of a notification message.

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment