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

Invalid field type in article_models.py for class Article #34

Open
Lasttrader opened this issue Mar 13, 2023 · 1 comment
Open

Invalid field type in article_models.py for class Article #34

Lasttrader opened this issue Mar 13, 2023 · 1 comment

Comments

@Lasttrader
Copy link

when I try to pass test, i get error, that "Charfield" don't have attribute "use_required_attribute"
to fix this I change few codelines

1.

from ckeditor_uploader.fields import RichTextUploadingField

need replace to
from ckeditor.fields import RichTextField

body = RichTextUploadingField(blank=True)

change to
body = RichTextField(blank=True)

after this all test passed success

@Williano
Copy link
Owner

Great, thank you
I will fix it and push it

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