app/soc/models/base.py
changeset 385 6d410bf49a82
parent 316 9efdc7bc3565
child 391 849aa913e9c8
--- a/app/soc/models/base.py	Sat Oct 18 17:49:46 2008 +0000
+++ b/app/soc/models/base.py	Sat Oct 18 21:54:13 2008 +0000
@@ -27,9 +27,7 @@
 
 from google.appengine.ext import db
 
-from soc.views import helper
-
-import soc.views.helper.forms
+from soc.views.helper import forms
 
 
 class ModelWithFieldAttributes(db.Model):
@@ -71,7 +69,7 @@
       Property itself via the Model entity.
     """
     if not cls._fields_cache or (cls != cls._fields_cache.__class__.Meta.model):
-      class FieldsProxy(helper.forms.DbModelForm):
+      class FieldsProxy(forms.DbModelForm):
         """Form used as a proxy to access User model properties attributes.
         """