Open Lasttrader opened 1 year ago
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.https://github.com/Williano/Bona-Blog/blob/aa68f68f2742031966efb7b883938394d8b83da3/blog/models/article_models.py#L10 need replace to from ckeditor.fields import RichTextField
from ckeditor.fields import RichTextField
2. https://github.com/Williano/Bona-Blog/blob/aa68f68f2742031966efb7b883938394d8b83da3/blog/models/article_models.py#L39 change to body = RichTextField(blank=True)
body = RichTextField(blank=True)
after this all test passed success
Great, thank you I will fix it and push it
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.https://github.com/Williano/Bona-Blog/blob/aa68f68f2742031966efb7b883938394d8b83da3/blog/models/article_models.py#L10 need replace to
from ckeditor.fields import RichTextField
2. https://github.com/Williano/Bona-Blog/blob/aa68f68f2742031966efb7b883938394d8b83da3/blog/models/article_models.py#L39 change to
body = RichTextField(blank=True)
after this all test passed success