On 2/01/2020 9:12 am, sum abiut wrote:
How do you change the default page header of the password reset form? I did something like below but the default page still doesn't change.

You need an admin template ... project/templates/admin/base-site.html ... which extends admin/base-site.html

Any blocks with the same name as the blocks in the extended template will replace those blocks.




admin.site.site_header ="testing"
image.png

--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y67K__Bi6f%3DOYgm9u2wozDWs2QDG3kqwTwoNk%3D4uyKK0g%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAPCf-y67K__Bi6f%3DOYgm9u2wozDWs2QDG3kqwTwoNk%3D4uyKK0g%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b00c0fdc-1bc0-91fa-4f5d-a6c8875cac0b%40dewhirst.com.au.

Reply via email to