You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be that views should not be imported in wiki_plugin.py files.
This would have been easier to discover without the magic of the plugin loader, and a more flat-out registration performed directly in a plugin's model module.
Suggesting to refactor BasePlugin to not include article_view but rather use some url naming convention and lazy url reversals. As long as the urlpatterns need to actively call something inside the plugin's view module, there will be circularity as BasePlugin is loaded from either wiki.models or the plugin.models.
Steps to reproduce:
It won't work because of circularity.
The text was updated successfully, but these errors were encountered: