[Django]-None-type object returned for selected radiobutton 18 December 2023 by thecoderscamp.com 7👍 ✅ Your fields are named “h-type” but you’re trying to access “h_type”. 👤Daniel Roseman [Django]-How to assign initial value to a custom fields in ModelAdmin? Source:stackexchange.com