AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How Do You Like to Structure Your Jango Projects?
I start with the business context, and i spend some time asking accompanies, what contexts do they have for this application? And then i er structure my application regularly. Use models, stuff like this. I keep all my views and models as simple as possible. They do not have any business logic. My model is like just fields and may be as string method, that's it. And my views is just call in some business logic. Function. All my business logic lives in special folder called logic. And then i start to obstructure this logic folder. Sometimes it is simple. It is just like three or four files with rent names. But then i use very specific technique to separate these