'RegistrationForm' object has no attribute 'clean_data'

2008-10-29 Thread Tsinga
Hey guys, I am a newbie to Django, and I am having trouble. Need help! This is the Traceback: Environment: Request Method: POST Request URL: http://127.0.0.1:8000/register/ Django Version: 1.0-final-SVN-unknown Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contr

Re: 'RegistrationForm' object has no attribute 'clean_data'

2008-10-29 Thread Tsinga
I am working with a new book (Learning Website Development with Django) from Ayman Hourieh. I am going through the application presented in that book. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: 'RegistrationForm' object has no attribute 'clean_data'

2008-10-29 Thread Tsinga
I searched and replaced clean_data with cleaned_data! It's working now! Great.. Thanks!!! --~--~-~--~~~---~--~~ 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@googl

global name 'Image' is not defined

2008-11-08 Thread Tsinga
'registration/register.html', variables ) def image_page(request): """ create/load image here """ image = Image.new("RGB", (800, 600), random.choice(INK)) """ serialize to HTTP response

Re: global name 'Image' is not defined

2008-11-08 Thread Tsinga
ex Koshelev" <[EMAIL PROTECTED]> wrote: > I think you have a typo in this line, May be you write `Image.new` with > lowercase "L" not uppercase "I" as first char. > > On Sun, Nov 9, 2008 at 02:54, Tsinga <[EMAIL PROTECTED]> wrote: > > > Hi

Re: global name 'Image' is not defined

2008-11-08 Thread Tsinga
rst char. > > On Sun, Nov 9, 2008 at 02:54, Tsinga <[EMAIL PROTECTED]> wrote: > > > Hi Djangonauts, > > > I need your help > > > I am trying to test a view using PIL(Python Imaging Library). This is > > the code: > > > from django.http import Htt