#12647: Django admin unique validation fails
-------------------------------------------+--------------------------------
Reporter: jtiai | Owner: Honza_Kral
Status: new | Milestone: 1.2
Component: django.contrib.admin | Version: 1.2-alpha
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by Honza_Kral):
* needs_better_patch: => 0
* needs_tests: => 0
* milestone: => 1.2
* owner: nobody => Honza_Kral
* needs_docs: => 0
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Attached a patch that takes care of this. it's a simple fix and
performance-wise it was better to always convert to tuple then to check
({{{timeit}}} claims so).
--
Ticket URL: <http://code.djangoproject.com/ticket/12647#comment:1>
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.