Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no theme #9

Open
semsphy opened this issue Mar 14, 2016 · 1 comment
Open

There is no theme #9

semsphy opened this issue Mar 14, 2016 · 1 comment

Comments

@semsphy
Copy link

semsphy commented Mar 14, 2016

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
Copy link
Owner

sysr-q commented Jul 16, 2024

Is this still an issue for you? Let me know, I can leave this open for another year or ten. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants