Friday, March 2, 2012

Caught TypeError while rendering: __init__() got an unexpected keyword argument 'maxlength'

I tried to enable admin and i got this error...

I am running Django on Ubuntu 11.10 and installed Django using apt-get...



Request Method: GET
Request URL: http://localhost:8000/admin/
Django Version: 1.3.1
Exception Type: TemplateSyntaxError
Exception Value:
Caught TypeError while rendering: __init__() got an unexpected keyword argument 'maxlength'
Exception Location: /usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/db/models/fields/__init__.py in __init__, line 545
Python Executable: /usr/bin/python
Python Version: 2.7.2
Python Path:
['/home/vipul/Django/mysite',  '/usr/local/lib/python2.7/dist-packages/elementtree-1.2.7_20070827_preview-py2.7.egg',  '/usr/local/lib/python2.7/dist-packages/lxml-2.3.3-py2.7-linux-i686.egg',  '/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg',  '/usr/local/lib/python2.7/dist-packages/stockphoto-0.2.1-py2.7.egg',  '/usr/lib/python2.7/dist-packages/PIL',  '/usr/local/lib/python2.7/dist-packages/Satchmo-0.9.2-py2.7.egg',  '/usr/lib/python2.7',  '/usr/lib/python2.7/plat-linux2',  '/usr/lib/python2.7/lib-tk',  '/usr/lib/python2.7/lib-old',  '/usr/lib/python2.7/lib-dynload',  '/usr/local/lib/python2.7/dist-packages',  '/usr/lib/python2.7/dist-packages',  '/usr/lib/python2.7/dist-packages/gst-0.10',  '/usr/lib/python2.7/dist-packages/gtk-2.0',  '/usr/lib/pymodules/python2.7',  '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',  '/usr/lib/python2.7/dist-packages/ubuntuone-client',  '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',  '/usr/lib/python2.7/dist-packages/ubuntuone-couch',  '/usr/lib/python2.7/dist-packages/ubuntuone-installer',  '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',  '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
Server time: Fri, 2 Mar 2012 03:39:05 -0600


--
Thanks 

Vipul Borikar
"Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty."

--
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