#12575: Create a better interface for getting/setting the effective level of
contrib.messages
--------------------------+-------------------------------------------------
 Reporter:  SmileyChris   |       Owner:  nobody    
   Status:  new           |   Milestone:  1.2       
Component:  Contrib apps  |     Version:  SVN       
 Keywords:                |       Stage:  Unreviewed
Has_patch:  0             |  
--------------------------+-------------------------------------------------
 As Jeremy Dunck [http://groups.google.com/group/django-
 
developers/browse_thread/thread/cba6d6154dc38e90/78a2078cc1375231?hl=en#78a2078cc1375231
 reported], the API to set the effective messaging level is awkward:
 {{{
 # Change the messages level to ensure the debug message is added.
 messages.get_messages(request).level = messages.DEBUG
 }}}

 The general consensus seems to be having two methods called 'get_level'
 and 'set_level'.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12575>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to