dash.contrib.plugins.rss_feed package

Submodules

dash.contrib.plugins.rss_feed.apps module

class dash.contrib.plugins.rss_feed.apps.Config(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

label = 'dash.contrib.plugins.rss_feed'
name = 'dash.contrib.plugins.rss_feed'

dash.contrib.plugins.rss_feed.dash_plugins module

class dash.contrib.plugins.rss_feed.dash_plugins.BaseReadRSSFeedPlugin(layout_uid, placeholder_uid, workspace=None, user=None, position=None)[source]

Bases: dash.base.BaseDashboardPlugin

Base Read RSS feed into HTML plugin.

form

alias of ReadRSSFeedForm

group = <django.utils.functional.__proxy__ object at 0x7f10ff38aad0>
name = <django.utils.functional.__proxy__ object at 0x7f10ff38aa90>

dash.contrib.plugins.rss_feed.dash_widgets module

class dash.contrib.plugins.rss_feed.dash_widgets.BaseReadRSSFeedWidget(plugin)[source]

Bases: dash.base.BaseDashboardPluginWidget

Base read RSS feed plugin widget.

media_css = ['css/dash_plugin_read_rss_feed.css']
media_js = ['js/dash_plugin_read_rss_feed.js']
render(request=None)[source]
class dash.contrib.plugins.rss_feed.dash_widgets.ReadRSSFeed2x3Widget(plugin)[source]

Bases: dash.contrib.plugins.rss_feed.dash_widgets.BaseReadRSSFeedWidget

Read RSS feed 2x3 plugin widget.

cols = 2
plugin_uid = 'read_rss_feed_2x3'
rows = 3
class dash.contrib.plugins.rss_feed.dash_widgets.ReadRSSFeed3x3Widget(plugin)[source]

Bases: dash.contrib.plugins.rss_feed.dash_widgets.BaseReadRSSFeedWidget

Big read RSS 3x3 feed plugin widget.

cols = 3
plugin_uid = 'read_rss_feed_3x3'
rows = 3

dash.contrib.plugins.rss_feed.defaults module

dash.contrib.plugins.rss_feed.forms module

class dash.contrib.plugins.rss_feed.forms.ReadRSSFeedForm(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False)[source]

Bases: django.forms.forms.Form, dash.base.DashboardPluginFormBase

Form for main ReadRSSFeedPlugin.

base_fields = OrderedDict([('feed_url', <django.forms.fields.URLField object at 0x7f10ff38a310>), ('custom_feed_title', <django.forms.fields.CharField object at 0x7f10ff38a490>), ('show_feed_title', <django.forms.fields.BooleanField object at 0x7f10ff38a590>), ('max_items', <django.forms.fields.IntegerField object at 0x7f10ff38a710>), ('truncate_after', <django.forms.fields.IntegerField object at 0x7f10ff38a7d0>), ('cache_for', <django.forms.fields.IntegerField object at 0x7f10ff38a890>)])
declared_fields = OrderedDict([('feed_url', <django.forms.fields.URLField object at 0x7f10ff38a310>), ('custom_feed_title', <django.forms.fields.CharField object at 0x7f10ff38a490>), ('show_feed_title', <django.forms.fields.BooleanField object at 0x7f10ff38a590>), ('max_items', <django.forms.fields.IntegerField object at 0x7f10ff38a710>), ('truncate_after', <django.forms.fields.IntegerField object at 0x7f10ff38a7d0>), ('cache_for', <django.forms.fields.IntegerField object at 0x7f10ff38a890>)])
media
plugin_data_fields = [('feed_url', ''), ('custom_feed_title', ''), ('show_feed_title', True), ('max_items', 6), ('truncate_after', 35), ('cache_for', 3600)]

dash.contrib.plugins.rss_feed.helpers module

dash.contrib.plugins.rss_feed.helpers.max_num_template(max_items, default)

dash.contrib.plugins.rss_feed.urls module

dash.contrib.plugins.rss_feed.views module

dash.contrib.plugins.rss_feed.views.get_feed(*args, **kwargs)[source]
Parameters:request (django.http.HttpRequest) –
Return django.http.HttpResponse:
 

Module contents