entity.py
branchtls-sprint
changeset 1264 fe2934a7df7f
parent 1177 7074698c6522
child 1269 94a5c30575c0
--- a/entity.py	Tue Apr 07 09:30:23 2009 +0200
+++ b/entity.py	Tue Apr 07 17:17:55 2009 +0200
@@ -154,14 +154,15 @@
     __metaclass__ = metaentity
     __registry__ = 'etypes'
     __select__ = yes()
-    widgets = {}
-    rtags = None
+
+    # class attributes that must be set in class definition 
     id = None
-    e_schema = None
-    eid = None
     rest_attr = None
     fetch_attrs = None
     skip_copy_for = ()
+    # class attributes set automatically at registration time
+    e_schema = None
+    
     @classmethod
     def registered(cls, registry):
         """build class using descriptor at registration time"""