Could you give me some orientation on how to create a custom ForeignKey field that does not create database constraints with syncdb and south migrations?
Thanks in advance for the help :)
Robin
diabeteman
unread,
Jun 4, 2012, 4:15:08 AM6/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Bump ;-)
I know my question is a bit technical but could someone help ?
diabeteman
unread,
Jun 4, 2012, 4:32:22 AM6/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
For the record, I've looked deep into django's code to find what needs to be done, but I think that simply subclassing ForeignKey will not be enough.
NB: I use South for managing my database schema, so I figure I'll need to do something about that too. But it may be out of the subject here :)