Skip to content

Can't unset the FEED_PLUGIN_TEMPLATE_CHOICES setting without hacking the code #9

@ursomniac

Description

@ursomniac

For whatever reason, I can't override the default template without hacking the original code.
Ideally, it SHOULD be possible to just redefine the FEED_PLUGIN_TEMPLATE_CHOICES tuple in one's own settings file.

But that doesn't appear to work.

in the settings.py file:

> from django_feedparser.settings import *
> from cmsplugin_feedparser.settings import *
> FEED_PLUGIN_TEMPLATE_CHOICES = (
>     ('feedparser_plugin/default.html', 'Kiosk Default template'),
> )

Then in the shell:

>>> from django.conf import settings
>>> settings.FEED_PLUGIN_TEMPLATE_CHOICES
(('django_feedparser/basic_feed_renderer.html', 'Default template'),)
>>> 

which is not the desired result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions