How do I override a form in Django admin?

You can override forms for django’s built-in admin by setting form attribute of ModelAdmin to your own form class . See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.form. https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin.12 Mar 2016

Read more

Can we change Django admin theme?

To do so, you will have to change the project’s settings.py . Find the TEMPLATES section and modify accordingly . To override the default template you first need to access the template you want to modify from the django/contrib/admin/templates/admin directory. Let’s say we want to change base.

Read more