Open semsphy opened 8 years ago
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.
Flask==0.10.1
Regards,
Is this still an issue for you? Let me know, I can leave this open for another year or ten. 😄
Theme loader
I has a directory themes in my root application, below is how I registered theme
I got an empty list.
I'm using
Flask==0.10.1
, I didn't know why it returned an empty list.Regards,