Making a Django Custom Model Field, Form Field, and Widget
2 minute readFor a recent Django task, I wanted to create a custom field that used a new widget by default to display the input differently. The basic steps to do this are: Create a custom Widget (child class of django.contrib.admin.widgets.Input) Create a custom Form Field (child class of django.forms.Field) that uses your custom widget Create a […]
Read More Making a Django Custom Model Field, Form Field, and Widget