Commit 6687dfca authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

update model_report to explicit foreign key id_renderers (web2py 2.18.3)

parent 6d85982e
......@@ -3,7 +3,7 @@
from callbacks import INHIBIT_CASCADE_DELETE
from gluon.validators import IS_IN_SET
from gluon.validators import IS_IN_DB, IS_IN_SET
from plugin_dbui import (CLEAN_SPACES,
......@@ -332,5 +332,6 @@ class Report(object):
table.section.filter_in = CLEAN_SPACES
table.id_renderers.requires = IS_IN_DB(db, "renderers.renderer")
return table
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment