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:
parent
b4da6c14c9
commit
10b24a43ff
2 changed files with 6 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ import inspect
|
|||
|
||||
from lodel import logger
|
||||
|
||||
|
||||
class FieldValidationError(Exception):
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue