From fdd84b7e7493d38a9a0f6491a05168595a913df6 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Sun, 8 May 2016 09:35:18 +0000 Subject: [PATCH] Fixed plugin missing instance bug0 --- orchestra/plugins/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestra/plugins/options.py b/orchestra/plugins/options.py index 477f4dc1..581c94de 100644 --- a/orchestra/plugins/options.py +++ b/orchestra/plugins/options.py @@ -14,8 +14,8 @@ class Plugin(object): def __init__(self, instance=None): # Related model instance of this plugin + self.instance = instance if self.form is None: - self.instance = instance from .forms import PluginForm self.form = PluginForm super().__init__()