Seems that the session middleware not active. It should append the user object 
to the request object.

laspal schrieb:
> I am trying to send mail using sendmail. Getting the error 'unicode'
> object has no attribute 'user'
...
>                 request.user.message_set.create(message="Mail was send
> successfully.")


-- 
Mfg.

Jens Diemer


----
http://www.jensdiemer.de


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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