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

Separate SITE VARS in settings.py #20

Open
john0isaac opened this issue Dec 9, 2024 · 0 comments
Open

Separate SITE VARS in settings.py #20

john0isaac opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@john0isaac
Copy link
Member

It's better to separate the site_vars into a separate file and calling it settings.py as it's taking lots of space in the app.py

settings.py

SITE_VARS = {
...
} 

and in app.py
import SITE_VARS from settings

and app.site_vars.update(SITE_VARS)

Originally posted by @john0isaac in #17 (comment)

@john0isaac john0isaac added the enhancement New feature or request label Dec 9, 2024
@john0isaac john0isaac moved this to In Progress in Render Engine Dec 9, 2024
@john0isaac john0isaac removed the status in Render Engine Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant