Commit 7f57222b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update to fix issue generating the sphinx documentation.

parent ce01ab7a
......@@ -7,7 +7,6 @@ import plugin_dbui as dbui
from gluon import current
from gluon.html import URL
from import Storage
from import PluginManager
from helper import get_language
......@@ -25,8 +24,8 @@ defaults = Storage(
# dbui library
dbui_conf=URL(c="plugin_dbui", f="dbui_conf"),
dbui_conf_debug=URL(c="plugin_dbui", f="dbui_conf", vars=dict(debug="")),
......@@ -118,12 +117,12 @@ class Dbui(object):
dbui_conf (str):
The ULR returning the configuration for the User Interface.
The default is ``URL(c='plugin_dbui', f='dbui_conf')``,
The default is ``/myapp/plugin_dbui/dbui_conf``,
dbui_conf_debug (str):
The URL returning the debug version of the configuration for
the User Interface. The default is
``URL(c='plugin_dbui', f='dbui_conf', vars=dict(debug=""))``.
dbui_css (str or list):
Relative path to CSS files for the dbui library:
......@@ -187,6 +186,12 @@ class Dbui(object):
plugin.dbui_lg = plugin.dbui_lg % lg
plugin.extjs_lg = plugin.extjs_lg % lg
# update values depending on the application
application = current.request.application
plugin.dbui_conf = plugin.dbui_conf % application
plugin.dbui_conf_debug = plugin.dbui_conf_debug % application
# persistent storage for the UI (private)
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