Views¶
Status: Placeholder — to be developed. Last reviewed: —
Scope¶
Conventions for Django class-based views: which mixins to use for which view type, HTMX response handling, permission/access patterns, where business logic lives (services vs. views), naming.
Sources to mine when writing this¶
apps/core/mixins.py(or whereverSortableFilterableListMixin,HtmxResponseMixinlive) — these are the blessed mixins that every list view should compose.- Reference views from apps with the cleanest pattern: patients, treatments, holders.
guidelines/ui/search-sort-filter.md— covers the list view side; this file covers the broader CBV conventions.