Thank you!

On Thu, Jul 21, 2011 at 8:52 PM, Alex Hall <mehg...@gmail.com> wrote:

> The word you want is max_length, not maxlength (note the underscore).
> Try changing to max_length and it should run.
>
> On 7/21/11, shakthi <sakth...@gmail.com> wrote:
> > while executing the following model i got the error message
> > __init() got an unexpected keyword argument 'maxlength'
> >
> >
> > from django.db import models
> >
> > class Author(models.Model):
> >     name=models.CharField(maxlength=20)
> >     city=models.CharField(maxlength=10)
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
> >
> >
>
>
> --
> Have a great day,
> Alex (msg sent from GMail website)
> mehg...@gmail.com; http://www.facebook.com/mehgcap
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

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

Reply via email to