Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 1.7b4 unexpected keyword argument 'max_length' #38

Closed
kuyucakli opened this issue May 21, 2014 · 4 comments
Closed

Django 1.7b4 unexpected keyword argument 'max_length' #38

kuyucakli opened this issue May 21, 2014 · 4 comments

Comments

@kuyucakli
Copy link

I do not have max_length set on RichTextFields but i get error:
...
File ".../Web/VIRTUAL_ENVIRONMENTS/django_python3.3/lib/python3.3/site-packages/django/db/models/fields/init.py", line 1887, in formfield
return super(TextField, self).formfield(**defaults)
File ".../Web/VIRTUAL_ENVIRONMENTS/django_python3.3/lib/python3.3/site-packages/django/db/models/fields/init.py", line 837, in formfield
return form_class(**defaults)
File ".../Web/VIRTUAL_ENVIRONMENTS/django_python3.3/lib/python3.3/site-packages/ckeditor/fields.py", line 28, in init
super(RichTextFormField, self).init(_args, *_kwargs)
TypeError: init() got an unexpected keyword argument 'max_length'

@riklaunim
Copy link
Owner

Are you using the 4.2.8 version or the github checkout (this one has a fix for Django 1.7) ?

@kuyucakli
Copy link
Author

I have done pip install django-ckeditor-updated. I think that is the 4.2.8 version. When will it be available on PyPi?

@riklaunim
Copy link
Owner

You could pip install the latest commit. I plan to release new version soon (like over weekend), but there are few other things to do too - like maybe updating CKEditor version.

@riklaunim
Copy link
Owner

4.3.0 is almost there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants