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
links to a user. using guardian (http://packages.python.org/django-
guardian/), I would like to automatically setup a per object
permission on this Domain for its Owner

== code ==
Please see : http://pastebin.com/4Uf31Q52

== error ==
Whenever I try to access the update page that should contain the Form,
I get the error:

type object 'DomainForm' has no attribute '_default_manager'

(Full traceback at http://dpaste.com/598065/)

Please note that this does not seem to be the same as the
"AttributeError: 'str' object has no attribute '_default_manager'" for
which I saw many things on google, but that do not seem to apply to my
case.

Thanks a lot for any guidance you may provide :)

Guillaume

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to