Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit b120b61e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update common_settings.py to implement the new mechanism initialising dbui.

parent 4e852773
......@@ -5,8 +5,6 @@
import plugin_dbui as dbui
from datetime import datetime
from gluon.tools import PluginManager
from plugin_event import (EvtModelCore,
EvtModelReport,
EvtModelSelector,
......@@ -26,25 +24,26 @@ T.lazy = False # immediate translation
#.............................................................................
#
# Create the database models
# Plugin dbui configuration
#
EvtModelCore(db, T)
EvtModelReport(db, T)
EvtModelSelector(virtdb, db, T)
dbui.Dbui.initialise(
app_css="static/track_events/resources/css/my.css",
app_debug="static/track_events/src",
app_lg="static/track_events/locale/myapp-lang-fr.js",
app_libmin="static/track_events-min.js",
app_script="static/app.js")
directSvc = dbui.Dbui.start_directSvc()
#.............................................................................
#
# Plugin dbui configuration
# Create the database models
#
plugins = PluginManager()
plugins.dbui.app_css = "static/my.css"
plugins.dbui.app_debug = "static/src"
plugins.dbui.app_libmin = "static/track_events-min.js"
plugins.dbui.app_lg = "static/track_events/locale/myapp-lang-fr.js"
plugins.dbui.app_script = "static/app.js"
# plugins.dbui.app_script_dir = None
EvtModelCore(db, T)
EvtModelReport(db, T)
EvtModelSelector(virtdb, db, T)
#.............................................................................
#
......
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