From 44e71cdb8d8940e6ee245370072b79a479241b2a Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Fri, 5 Dec 2008 08:33:10 +0000
Subject: [PATCH] defining view_name in the Row class does not work, as Table
 does not know about its Row class

---
 PLC/Nodes.py | 2 +-
 PLC/Table.py | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/PLC/Nodes.py b/PLC/Nodes.py
index a61e366e..a1cea700 100644
--- a/PLC/Nodes.py
+++ b/PLC/Nodes.py
@@ -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
diff --git a/PLC/Table.py b/PLC/Table.py
index eeac6c1c..2ce8bb74 100644
--- a/PLC/Table.py
+++ b/PLC/Table.py
@@ -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
-- 
2.47.0