Re: 'unicode' object has no attribute 'user'

2008-09-18 Thread Collin Grady
On Thu, Sep 18, 2008 at 4:31 AM, laspal <[EMAIL PROTECTED]> wrote: > I am trying to send mail using sendmail. Getting the error 'unicode' > object has no attribute 'user' This question belongs on django-users, not django-development - this list is for the development of django itsel

'unicode' object has no attribute 'user'

2008-09-18 Thread laspal
Hi, I am trying to send mail using sendmail. Getting the error 'unicode' object has no attribute 'user' My view function: def send_mail(request): _user = request.user sender = _user.email mailing_list = [] if request.method != 'POST': emailform = EmailForm