Plugins infrastructure

This commit is contained in:
Agate 2020-07-03 10:59:12 +02:00
parent 9964adfbf6
commit d4028450a9
32 changed files with 1560 additions and 47 deletions

View file

@ -35,3 +35,12 @@ class CommonFactory(NoUpdateOnCreate, factory.django.DjangoModelFactory):
class Meta:
model = "common.Content"
@registry.register
class PluginConfiguration(NoUpdateOnCreate, factory.django.DjangoModelFactory):
code = "test"
conf = {"foo": "bar"}
class Meta:
model = "common.PluginConfiguration"