Check related object attribute in a view

2011-08-30 Thread gdebure
This is probably very simple, but I've been hitting walls ever since I started... I have a model A that contains a link to another model B. B has an "owner" attribute. This owner attribute is translated as a per object permission using guardian. Models: class Service (models.Model): name =

modelForm has no _default_manager

2011-08-19 Thread gdebure
Hi Everyone, I've been discovering Django for a few weeks, and love it so far :) However I am facing an issue with a modelForm. As I couldn't find my answer through googling, I thought you might be able to help... == context == I have an object (called "Domain") that has an "owner" attribute that