6 ms·
Django useses this Approach: app/ ---- models.py ---- views.py ---- urls.py ---- admin.py etc. etc. I think it does indeed make more sense. Though the differe
by lucasvo 18y ago
Django useses this Approach:
app/
---- models.py
---- views.py
---- urls.py
---- admin.py
etc.
etc. I think it does indeed make more sense. Though the difference is not that big except for one case: Reusability of the code, that way you can easily just copy the directory to another site.