Shouldn't rx.Config.app_name be the module/app path? #3063
rodrigosetti
announced in
Ideas
Replies: 1 comment
-
|
@rodrigosetti Definitely a good point, they should generally always be the same. I agree we can change it to this to give more flexibility and make it easier to run multiple apps in a single folder as well. I'll create an issue from this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm organizing a larger reflex project and wanted to place my reflex app in a subpackage, but
rx.Config(app_name="X")constrains the application to beX.X(reflex.config.py) - which is a weird behavior ifXis a general module path.It would be nice if we change this behavior to what Flask does (without the defaults). quoting from Flask's documentation:
This proposal is backwards incompatible, so it will need a new parameter (
app?) andapp_namedeprecation.NOTE: I'm just joining the community, so please excuse if this was already discussed or I'm overlooking something major.
Beta Was this translation helpful? Give feedback.
All reactions