#4136: CharField(null=True, blank=True, unique=True)
-------------------------------------+-------------------------------------
Reporter: David Cramer | Owner:
<dcramer@…> | aashu_dwivedi
Type: Bug | Status: assigned
Component: Forms | Version: 1.3-rc
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by anentropic):
@collinanderson
Can you elaborate? Simply adding that to the model `save()` method alone
seems to be insufficient because commonly we are using a `ModelForm` and
that calls the instance's `validate_unique` method, which raises
`ValidationError` before the `save` method is reached...
--
Ticket URL: <https://code.djangoproject.com/ticket/4136#comment:34>
Django <https://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 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/090.fd06eb35576b8c1610946f4544945959%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.