| Trees | Indices | Help |
|
|---|
|
|
1
2
3 FORM = {
4 "NodeType": {
5 "description":"Create a new NodeType object.",
6 "action": "model/node_type/new/",
7 "fields": [
8 ["label", {
9 "type": "str",
10 "label": "Label",
11 "default": "",
12 "required": True,
13 "length": {"min": 1, "max":200},
14 "unique": True,
15 }],
16 ["description", {
17 "type": "text",
18 "label": "Description",
19 "default": "",
20 "required": False,
21 "length": {"min": 0, "max":1000},
22 "unique": True,
23 }],
24 ["submit", {
25 "type": "submit",
26 "value": "Create the NodeType",
27 }],
28 ],
29 },
30
31 "EdgeType": {
32 "description":"Create a new EdgeType object.",
33 "action": "model/edge_type/new/",
34 "fields": [
35 ["label", {
36 "type": "str",
37 "label": "Label",
38 "default": "",
39 "required": True,
40 "length": {"min": 1, "max":200},
41 "unique": True,
42 }],
43 ["description", {
44 "type": "text",
45 "label": "Description",
46 "default": "",
47 "required": False,
48 "length": {"min": 0, "max":1000},
49 "unique": True,
50 }],
51 ["submit", {
52 "type": "submit",
53 "value": "Create the EdgeType",
54 }],
55 ],
56 },
57 "Dimension": {
58 "description":"Create a new Dimension object.",
59 "action": "model/dimension/new/",
60 "fields": [
61 ["label", {
62 "type": "str",
63 "label": "Label",
64 "default": "",
65 "required": True,
66 "length": {"min": 1, "max":200},
67 "unique": True,
68 }],
69 ["description", {
70 "type": "text",
71 "label": "Description",
72 "default": "",
73 "required": False,
74 "length": {"min": 0, "max":1000},
75 "unique": True,
76 }],
77 ["submit", {
78 "type": "submit",
79 "value": "Create the Dimension",
80 }],
81 ],
82 }
83 }
84
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Jul 1 22:04:02 2008 | http://epydoc.sourceforge.net |