python - Django apps structure -
I'm learning Django but I'm hard to see how should I divide a project into the app?
I have worked on some Java EE systems, almost for governmental and all the stuff, but I can not see how to design a project for this purpose?
For example, if you need to do a web app to make three processes easier: the process of getting passports, process of obtaining driver licenses and the process of obtaining social numbers.
There are steps in common in 3 processes: personal information, contact information, health information Do you have a project for each process, an app for each process, what will an app do for each stage?
I'm sorry if I'm posting it on the wrong stack exchange site.
Thank you.
When you say "process" I think you are talking about pages (or Idea in Django) So I'll implement a single "app" to do this.
Remember that a project is made up of apps when you create a project, a main app (with the same name as the project) is created. This is a good place to codify the procedures you've mentioned.
Think about the app as the undefined section of your project (site); Maybe some platforms, a blog, a custom administration panel, a game and accessories like Each of them can be a free app.
Most of the purpose of a project is in the form of a website, so there is no need to create another project on the example you mentioned.
Comments
Post a Comment