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
Exception when subclassing subclass of CMSPlugin #265
Comments
what happens if you try:
i had the same problem making a faq plugin. i had to copy a lot of stuff, but i was able to keep it somewhat manageable by using a lot of import statements: |
did the trick from thefink work? Should this go into the docs? |
ok this does not work as you get an other one2one relation to text. |
inheritance from abstract models should now work. Inheritance of non abstract models... well that's a very hard problem. Reversion and performance are some of the issues. |
closed by 0697465 abstract text plugin model. Allow abstract plugin models to be inherited |
Sorry I had to put this off for such a long time – I confirm that subclassing AbstractText works as expected. |
…n models to be inherited
When creating a plugin model that is based on an existing plugin model, for instance: class SpecialText(Text):
Caught an exception while rendering: plugin model needs to subclass CMSPlugin
The text was updated successfully, but these errors were encountered: