Source code for dash.management.commands.dash_sync_plugins

from django.core.management.base import BaseCommand

from dash.utils import sync_plugins

[docs]class Command(BaseCommand):
[docs] def handle(self, *args, **options): """ Adds the missing plugins to database (``dash.models.DashboardPlugin``). This command shall be ran every time a developer adds a new plugin. """ sync_plugins()
Read the Docs v: 0.3.2
Versions
latest
0.3.2
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.