[Answer]-Django app file structure

1👍

No. Django understands packages and files.

Example if you use

app/
   views/
     page1_view.py
     page2_view.py
     __init__.py

you can reference the views as app.views.page1_views without any issues.

0👍

The short answer is no. In fact, I’ve often split views, tasks, and tests as you are doing.

👤guyrt

Leave a comment