Little fix in config.py.sample
This commit is contained in:
parent
35bc3dfe94
commit
144e3ba264
1 changed files with 3 additions and 1 deletions
|
|
@ -131,7 +131,9 @@ yes_static=True
|
||||||
|
|
||||||
#WebModel.connections={'default': {'name': 'default', 'host': 'localhost', 'user': 'root', 'password': '', 'db': 'example', 'charset': 'utf8mb4', 'set_connection': False} }
|
#WebModel.connections={'default': {'name': 'default', 'host': 'localhost', 'user': 'root', 'password': '', 'db': 'example', 'charset': 'utf8mb4', 'set_connection': False} }
|
||||||
|
|
||||||
for module in config.modules:
|
#Please dont change this line if you don't know what you are doing
|
||||||
|
|
||||||
|
for module in modules:
|
||||||
module+='.settings.config'
|
module+='.settings.config'
|
||||||
module_path=module.replace('.','/')+'.py'
|
module_path=module.replace('.','/')+'.py'
|
||||||
if os.path.isfile(module_path):
|
if os.path.isfile(module_path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue