I am trying to override change_form.html
only for one model, so I did as explained in the django documentation and created /templates/my_app_name/my_model_name/change_form.html
.
The problem is, it is not working and I am not seeing the extra features that I have added to the change_form
template. I am using django_guardian
, which also overrides the same template, so my assumption is that this is causing the issue. It is worth mentioning, that before placing the template in the my_app_name/my_model_name/
folder, the features of both templates were visible in the admin interface.
Is there a way to apply this only for 1 model?