There is no theme
Opened this issue · 1 comments
semsphy commented
Theme loader
I has a directory themes in my root application, below is how I registered theme
app.config['DEFAULT_THEME'] = app.config['DEFAULT_THEME'] or "adminlte"
Themes(app, app_identifier='test')
@app.route("/test/themes", methods=["GET"])
def themes():
themes = get_themes_list()
app.logger.info(app.theme_manager.list_themes())
return ','.join(themes)
I got an empty list.
I'm using Flask==0.10.1
, I didn't know why it returned an empty list.
Regards,
sysr-q commented
Is this still an issue for you? Let me know, I can leave this open for another year or ten. 😄