How to structurize multi-app projects? #527
Unanswered
mmzeynalli
asked this question in
Q&A
Replies: 1 comment
-
This was discussed in other issues I think. |
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
-
I have the project, which has three (for now) apps: auth, core, logic. Each of them has
models.py
file, and relatedadmin.py
file. In Django, I am kind of used to solve everything inadmin.py
, but I cannot seem to do it with FastAPI and SQLAdmin. I tried to createadmin
object inmain.py
, and import it in every apps'admin.py
file, but it does not work. The only way of making it work is to write everything inmain.py
, which I believe, is not that effective, as code base grows. Any suggestion how can I handle this situation? Thanks beforehand.Beta Was this translation helpful? Give feedback.
All reactions