2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Enable / Disable Plugins

Fixes #2292
This commit is contained in:
Matthias
2021-11-12 00:46:47 +01:00
parent ae5031e997
commit 685d3df6d1
4 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.5 on 2021-11-11 23:37
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='PluginConfig',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.CharField(help_text='Key of plugin', max_length=255, unique=True, verbose_name='Key')),
('name', models.CharField(blank=True, help_text='PluginName of the plugin', max_length=255, null=True, verbose_name='Name')),
('active', models.BooleanField(default=False, help_text='Is the plugin active', verbose_name='Active')),
],
),
]

View File