See:
- Largish project app structure
- categorizing models in own files instead of models.py - #6 by KenWhitesell
I have personally fallen in love with HTMX and wouldn’t even think of starting a project now without it.
I don’t think I’ve ever used raw SQL for a Django model. We use the ORM exclusively.
Do not confuse a Django Form with an HTML <form>
. You can render multiple Django Forms within a single HTML <form>
tag. See Prefixes for forms.
I’m sorry, I don’t understand what you’re trying to say here.
(You do need to check authorization on each view. It doesn’t make sense in Django to do anything else.)