rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 5 forks source link

Class-based Views #58

Closed pacharanero closed 2 years ago

pacharanero commented 2 years ago

In an effort to ensure we are using idiomatic Django, we will start to convert the Views to Class-based https://docs.djangoproject.com/en/4.0/topics/class-based-views/intro/

eatyourpeas commented 2 years ago

I think this idea is maybe deprecated now. We have function based views which affords us granular control and the ability (using HTMX) save form elements in real time without requiring form submission, but has come at the expense of a lot of boiler plate. If you agree @pacharanero we can close this issue.

eatyourpeas commented 2 years ago

closing this