Thank you!
On Thu, Jul 21, 2011 at 8:52 PM, Alex Hall 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 wrote:
> > while executing the following model i got the error message
> > __init() got an
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 wrote:
> while executing the following model i got the error message
> __init() got an unexpected keyword argument 'maxlength'
>
>
> from django.db import models
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
3 matches
Mail list logo