Hi,
I don't use messages framework on a base template but have it in my 
installed apps because I need them on some particular pages. Some 
third-party apps (django-social-auth for my case) creates messages for 
itself. When I need to use messages in a single page I can't show all 
messages to user because I'm not sure how many messages are waiting in the 
queue for the user. Instead I want something like a channel whenever adding 
a message for a specific page (or purpose).  I think this can be done in a 
way without breaking backward-compatibility. 

Here is my case: I have a decorator that checks user's cart and redirects 
it back to "my cart" page with a warning indicating the cart has been 
updated. But, I can't show that message through messages framework because 
of the issue above.

If a channel is not given as parameter, messages framework may work as it 
is right now. This parameter is needed when both adding and retrieving 
messages.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/2a35b0c9-5849-4592-a2cf-d97c7344fb0c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to