loading...

re: Django.... should I be switching around paths? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Ok, it messes me up when you go in between 2 files with basically the same name. The tutorial, he copied and pasted only part of a path type file o...
 

The extra files should go in separate directories

e.g.

apps/
    chat/
         urls.py
         models.py
         views.py
         templates/
         etc...

for a single app called "chat". does that make sense?

That said, all this really only matters if you have an aplpication / team large enough where this sort of code cleanliness is important. If you are just by yourself and just learning then you don't have to bother

Code of Conduct Report abuse