#11315: add coercion to URLconf
------------------------------+---------------------------------------------
 Reporter:  klr...@gmail.com  |       Owner:  nobody    
   Status:  new               |   Milestone:            
Component:  HTTP handling     |     Version:  1.0       
 Keywords:                    |       Stage:  Unreviewed
Has_patch:  0                 |  
------------------------------+---------------------------------------------
 I'm thinking of a coercion feature similar to TypedChoiceField. The dict
 could contain the coercions. So if I have a route w/ a parameter X, the
 dictionary could be:
 {'coerce': {'x': int}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11315>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to