1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-30 02:59:03 +01:00

Added the FieldValidationError reference to the references module

This commit is contained in:
Roland Haroutiounian 2016-04-13 08:44:37 +02:00
commit 10b24a43ff
2 changed files with 6 additions and 2 deletions

View file

@ -10,6 +10,7 @@ import inspect
from lodel import logger
class FieldValidationError(Exception):
pass

View file

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