Added modules support for admin
This commit is contained in:
parent
d9b62719d7
commit
b845f78e3f
9 changed files with 142 additions and 21 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue