TypeError: __init__() got an unexpected keyword argument 'maxlength'
opened this issue · comments
File "/home/lee/test_pyf/t/models.py", line 28, in User
language = models.CharField(maxlength=64, default='Python')
TypeError: init() got an unexpected keyword argument 'maxlength'
for >= django 1.0, change maxlength
to max_length
could fix this error.