Re: Django: "Fake" multiple inheritance

2015-08-14 Thread Daniel H
Hi Michael. First of all, setting the pk to the pk of a different model will do nothing. You can do this however, using Foreign Keys restaurant = models.ForeignKey('Restautant') Then declare a new hotel

Possible Bug when using exclude on a GenericForeignKey / GenericRelation query.

2015-08-14 Thread Daniel H
Hi everyone. I've been using django for almost a year now, but it's my first time posting here. Anyway, I'm encountering an error which I think might be a bug. I've yet to try and replicate it as I thought posting here would be the better first step, as I might just be doing something