Browse Source

Added the FieldValidationError reference to the references module

Roland Haroutiounian 9 years ago
parent
commit
10b24a43ff

+ 1
- 0
lodel/leapi/datahandlers/base_classes.py View File

@@ -10,6 +10,7 @@ import inspect
10 10
 
11 11
 from lodel import logger
12 12
 
13
+
13 14
 class FieldValidationError(Exception):
14 15
     pass
15 16
 

+ 5
- 2
lodel/leapi/datahandlers/references.py View File

@@ -1,7 +1,10 @@
1 1
 # -*- coding: utf-8 -*-
2
-from lodel.leapi.datahandlers.base_classes import Reference, MultipleRef, SingleRef
2
+from lodel.leapi.datahandlers.base_classes import Reference, MultipleRef, SingleRef, FieldValidationError
3
+
4
+
5
+class Link(SingleRef):
6
+    pass
3 7
 
4
-class Link(SingleRef): pass
5 8
 
6 9
 ##@brief Child class of MultipleRef where references are represented in the form of a python list
7 10
 class List(MultipleRef):

Loading…
Cancel
Save