#526: Exception when using unique_together in edit_inline model
--------------------------------------------------------------+-------------
Reporter: nesh <nesh [at] studioquattro [dot] co [dot] yu> | Owner:
adrian
Type: defect | Status:
new
Priority: high | Milestone:
Component: Database wrapper | Version:
SVN
Severity: major | Resolution:
Keywords: |
--------------------------------------------------------------+-------------
Comment (by nesh <nesh [at] studioquattro [dot] co [dot] yu>):
{{{
#!python
unique_together = ( ( "tid", "pid" ), )
}}}
Strange, if you reverse order to {{{('pid', 'tid')}}} then it works.
I'm trying to make test for that (in
tests/modeltests/manipulators/models.py)
--
Ticket URL: <http://code.djangoproject.com/ticket/526>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---