Answer the question
In order to leave comments, you need to log in
How to override models in python?
I'm a newbie, maybe the question is trivially solved, but I can't find the answer in any way.
I installed the Pina-blog application and decided to connect ckeditor.
The gag occurred at the moment when it is necessary to define ckeditor in the models, but the mdoels.py file was not pulled into the directory with the application, probably it should be so.
I found this file in the virtual environment and saw this:
markup = models.CharField(max_length=25, choices=settings.PINAX_BLOG_MARKUP_CHOICES)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question