#12386: Automatic ManyToMany Fields in models defined in packages use invalid
column names
---------------------------------------------------+------------------------
Reporter: ldevesine | Owner: nobody
Status: new | 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 |
---------------------------------------------------+------------------------
Comment (by ldevesine):
On further review, the problem is that I still had the old column name of
'subscriptiontype_id' in my database. Changing the column name to
'member.subscriptiontype_id' does resolve the problem, and syncdb creates
the column with the 'correct' name automatically. I am, however, not
certain that django should be creating tables with columns with '.'
characters in the name automatically...
--
Ticket URL: <http://code.djangoproject.com/ticket/12386#comment:2>
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.