Random TextNode appearing in Django authentication templates

50 Views Asked by At

I am using custom templates with django.contrib.auth.urls and I've noticed that in the top left corner I have plain text appearing that isn't part of my template e.g. "Password Reset" on the password reset page, "Password Change" on the change password page etc.

When I use my browser to inspect the element it simply appears as plain text in the page source. When I click the relevant line in the page source some properties appear in the side panel and it appears to be a "Text Node" with a value of the text that is shown in my template.

The text only shows on change password and reset password related pages (including reset done etc). It doesn't show on the login page or any other page in the app.

What is this and how do I get rid of it?

I have used django.contrib.auth.urls with custom templates before and have not come across this before.

Thanks

enter image description here

enter image description here

0

There are 0 best solutions below