defining view_name in the Row class does not work, as Table does not know about its...
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 5 Dec 2008 08:33:10 +0000 (08:33 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 5 Dec 2008 08:33:10 +0000 (08:33 +0000)
PLC/Nodes.py
PLC/Table.py

index a61e366..a1cea70 100644 (file)
@@ -80,7 +80,7 @@ class Node(Row):
        'slices_whitelist': [Mixed(Parameter(int, "Slice identifier"),
                                    Parameter(str, "Slice name"))]
        }
-    view_name = "view_nodes"
+
     view_tags_name = "view_node_tags"
     tags = {
         # regular
index eeac6c1..2ce8bb7 100644 (file)
@@ -32,10 +32,6 @@ class Row(dict):
     # sync().
     fields = {}
 
-    # Set this to the name of the view that gathers the row and its relations
-    # e.g. view_name = "view_nodes"
-    view_name = None
-
     # The name of the view that extends objects with tags
     # e.g. view_tags_name = "view_node_tags"
     view_tags_name = None