Fix inheritance in soc.models.base module. FieldsProxy inherited from DbModelForm which was deleted in previous commits (replace that with BaseForm).
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 15 Dec 2008 01:10:32 +0000
changeset 751 16dffe0b6336
parent 750 6e8d67d04507
child 752 e9a45874fe37
Fix inheritance in soc.models.base module. FieldsProxy inherited from DbModelForm which was deleted in previous commits (replace that with BaseForm). Patch by: Pawel Solyga
app/soc/models/base.py
--- a/app/soc/models/base.py	Mon Dec 15 01:08:16 2008 +0000
+++ b/app/soc/models/base.py	Mon Dec 15 01:10:32 2008 +0000
@@ -69,7 +69,7 @@
       Property itself via the Model entity.
     """
     if not cls._fields_cache or (cls != cls._fields_cache.__class__.Meta.model):
-      class FieldsProxy(forms_helper.DbModelForm):
+      class FieldsProxy(forms_helper.BaseForm):
         """Form used as a proxy to access User model properties attributes.
         """