#10927: Content Types shortcut view throws 500s easily
-----------------------------------+----------------------------------------
          Reporter:  jdunck        |         Owner:  nobody    
            Status:  new           |     Milestone:            
         Component:  Contrib apps  |       Version:  1.1-beta-1
        Resolution:                |      Keywords:            
             Stage:  Unreviewed    |     Has_patch:  1         
        Needs_docs:  0             |   Needs_tests:  0         
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Comment (by jdunck):

 The simpler one probably works-for-me.  I chose the .to_python route
 because that uniformly raises ValidationError-- I wasn't sure about the
 assumption that any cast in the ORM would fail as ValueError.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10927#comment:4>
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