Django Chat cover image

Django Stubs - Nikita Sobolev

Django Chat

00:00

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

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner