-
Notifications
You must be signed in to change notification settings - Fork 5
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
Document how to handle views in multiple different python files? #113
Comments
Hey @almet ! :) There is nothing formal like blueprints included in Roll so far. We did discuss this needs (mainly from the "generical roll app" point of view), but for now didn't get the simple and generic solution to handle that. IIRC, the option we evaluated was to have a So you're stuck with plain python :p Until now, I've myself used those structures:
Hope it helps! :) |
Hey, thanks for the quick response, and for the pointers. Turns out my python started to be a bit rusty, and I managed to do what I wanted thanks to your help 👍. If this can help anybody, it's as simple as what's described in this gist. |
Hi :) It might be worth a dedicated example in the docs? 🤔 |
Right! Let's reopen this then :-) |
Hi (hope you're doing great !), and thanks for the project, love it so far :-) I'm trying to find a way to split the views in different python files, but as the views are all relying on the app, I'm not sure how to do it.
In the Flask project, they're using an intermediate concept named Blueprints for this, and I believe what I'm looking for seems similar.
Did you already face this issue? Any idea on how do deal with this? Thanks !
The text was updated successfully, but these errors were encountered: