#12386: Automatic ManyToMany Fields in models defined in packages use invalid
column names
---------------------------------------------------+------------------------
Reporter: ldevesine | Owner: nobody
Status: reopened | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by ldevesine):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Ah, the difference appears to be that I am defining the m2m relationship
using a string and specifying the app the 'to' model is in. I've attached
a very slightly altered version of your diff file that reproduces the same
issue for me. I suppose it's possible I'm just never supposed to define an
m2m relationship this way? If so, that should probably be documented
and/or throw an exception.
--
Ticket URL: <http://code.djangoproject.com/ticket/12386#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 [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.