Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
6687dfca
Commit
6687dfca
authored
Nov 05, 2019
by
LE GAC Renaud
Browse files
update model_report to explicit foreign key id_renderers (web2py 2.18.3)
parent
6d85982e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/model_report.py
modules/model_report.py
+2
-1
No files found.
modules/model_report.py
View file @
6687dfca
...
...
@@ -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
,
INHIBIT_DELETE_UNDEF
,
...
...
@@ -332,5 +332,6 @@ class Report(object):
migrate
=
"sections.table"
)
table
.
section
.
filter_in
=
CLEAN_SPACES
table
.
id_renderers
.
requires
=
IS_IN_DB
(
db
,
"renderers.renderer"
)
return
table
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment