-
Notifications
You must be signed in to change notification settings - Fork 26
News and events templatetags #73
Comments
Are you trying to use It's not used anywhere in Arkestra itself, any more. Do you have a template that needs to use the tag? |
Yes I'm using Second, circular dependency issue is avoided by importing |
If you really have a use for it, I guess |
What is the alternative, except for using plugin in placeholder? |
There is no alternative. Be warned however that the code in https://github.com/evildmp/Arkestra/blob/develop/news_and_events/templatetags/news_and_events_tags.py#L11 is out of date. For example, the There's some explanation at https://arkestra.readthedocs.org/en/latest/using_arkestra/arkestra_generic_models.html#cms-plugins-py, but I really need to do some work on all this! |
News and events template tags are not working. There are few issues. First one is that
work_out_entity
on this line cannot be imported it should be uncommented and with full path:Another problem is on the next import
CMSNewsAndEventsPlugin
and this is the relevant (last) part of the traceback:It seems that the name
CMSNewsAndEventsPlugin
from the module...env\src\arkestra\news_and_events\cms_plugins.py
is needed while the same module is still importing its dependencies (line 9).The text was updated successfully, but these errors were encountered: