Browse Source

Remove assocproxy from PluginStore

Alec Nikolas Reiter 7 years ago
parent
commit
458d1b4358
1 changed files with 0 additions and 4 deletions
  1. 0 4
      flaskbb/plugins/models.py

+ 0 - 4
flaskbb/plugins/models.py

@@ -10,7 +10,6 @@
     :license: BSD, see LICENSE for more details.
 """
 from sqlalchemy import UniqueConstraint
-from sqlalchemy.ext.associationproxy import association_proxy
 from sqlalchemy.orm.collections import attribute_mapped_collection
 
 from flaskbb.extensions import db
@@ -52,9 +51,6 @@ class PluginRegistry(CRUDMixin, db.Model):
         cascade='all, delete-orphan',
         backref='plugin'
     )
-    settings = association_proxy(
-        'values', 'value', creator=lambda k, v: PluginStore(key=k, value=v)
-    )
 
     def get_settings_form(self):
         return generate_settings_form(self.values.values())()