#3462: model objects can fail during save
-------------------------------------------------+--------------------------
Reporter: Jack Moffitt <[EMAIL PROTECTED]> | Owner: jacob
Status: new | Component:
Generic views
Version: SVN | Resolution:
Keywords: | Stage:
Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------------+--------------------------
Changes (by Michael Radziej <[EMAIL PROTECTED]>):
* needs_better_patch: => 0
* component: Database wrapper => Generic views
* needs_tests: => 0
* owner: adrian => jacob
* needs_docs: => 0
* stage: Unreviewed => Design decision needed
Comment:
Hmm ... I don't consider it a bug that save() throws an exception, you're
supposed to deal with this in your code.
But the documentation should explain it, and generic views should handle
it. Perhaps this can be done by re-validating if save() throws a database
exception.
We first need to find out what's the best way to take, so I put it into
stage "Needs Decision".
--
Ticket URL: <http://code.djangoproject.com/ticket/3462#comment:1>
Django Code <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
-~----------~----~----~----~------~----~------~--~---