Added modules support for admin

This commit is contained in:
Antonio de la Rosa 2020-01-28 20:16:35 +01:00
parent d9b62719d7
commit b845f78e3f
9 changed files with 142 additions and 21 deletions

View file

@ -39,9 +39,6 @@ def start_app():
arr_module_path[added_app]=os.path.dirname(sys.modules[module_app].__file__)
#Add media files support. Only for development.
#print(inspect.getmembers(sys.modules['paramecio2.modules.admin.app']))
#print(os.path.dirname(sys.modules['paramecio2.modules.admin.app'].__file__))
@app.route('/mediafrom/<module>/<path:media_file>')
def send_media_file(module, media_file):