Wednesday, June 1, 2016

Re: Model inheritance with constraints

Hi Akhil - my issue was how to avoid the new OneToOne relationships, which James addressed on this post.

Hi James - thanks a bunch for your help, much appreciated. While I like the WYSIWYG nature of this solution, I am not sure if the creation of the abstract base class will cause the data already existing in MyFunModel table to be modified in any way. 

Cheers
AB

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eaf73ae9-6b9f-4518-b751-e9c2f776caa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment