Sunday, May 1, 2011

Re: Attribute error

Capitalize class names.

class Wish(models.Model):
the_wish = models.CharField(max_length=100)

On Apr 30, 4:26 pm, Pulkit Mehrotra <mehrotra.pul...@gmail.com> wrote:
> changed the name but nothing happened
> the django version is 1.3

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment