Replies: 2 comments 1 reply
-
So, this is actually how it should be. I like app separation in general too. And if you look here: reactivated/reactivated/pick.py Line 230 in db5f01c you'll see that models are already exported by apps. Try it: use The problem is that there's no real canonical way to find the app name from a file, especially if you don't just use APP_NAME/templates.py. Unless we force templates to be in I'm open to the idea of shifting to this, and would also welcome any PRs. |
Beta Was this translation helpful? Give feedback.
-
I suppose using the namespaced |
Beta Was this translation helpful? Give feedback.
-
Rather than have all of my templates be direct children of
client/templates/
, I'd like to separate them as indicated below and still have a way to create python templates for these:If there is currently no way to do so, perhaps a good way to implement it would be to be able to declare an
app_name="myappname"
inside oftemplates.py
in the same way that it can be declared under the app'surls.py
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions