On 29 Apr 2011, at 8:56 AM, Andrew Colin Kissa wrote:

> This is a strange one, the traceback does not show the Django
> version, are you using the debian packaged Django ?
> 
> Let me try and replicate this. Will provide feedback.

This is caused by yet another API change in 1.2

http://docs.djangoproject.com/en/1.2/releases/1.2/#backwards-incompatible-changes-in-1-2
http://docs.djangoproject.com/en/1.2/releases/1.2/#modelform-is-valid-and-modelform-errors

You are triggering this bug because you are trying to add a domain to
a normal user (who's profile only allows email addresses) the validation
flags the form as having an error (i.e does not setup cleaned_data) but
the newly introduced model checks try to access that value which is set
to None thus causing the exception.

Will create a workaround and also report the bug upstream in Django.

In the meantime, if you do the right thing (TM) you should be able to add
domains.

You need to change the profile of the user to domain administrator,
You can do this by selecting "Edit" under profile settings.

- Andrew

--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to