|Reported by:||Dagur||Owned by:||adrian|
|Component:||Database layer (models, ORM)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I get this error: http://django.pastebin.com/344429 When I try to create a new message with an attachment. But still the object is created and the file seems to be added to my media directory.
However, if I create the message first and then edit it, adding the attachment, I get no errors and no problems.
The model validates and I'm using revision 547.
here is my model: http://django.pastebin.com/344456