2

I created registration/password_reset_subject.txt to change the subject of my password reset email as suggested here. However, it does not take effect.

The email subject remains Subject: Password reset on 127.0.0.1:8000

ohlr
  • 1,839
  • 1
  • 13
  • 29

1 Answers1

8

Found the answer myself.

I got it to work by placing registration/password_reset_subject.txt in a global template folder.

It is also possible to place registration/password_reset_subject.txt in the template folder of a submodule. However, for this to work the module must come before 'django.contrib.auth' in the INSTALLED_APPS.

Alasdair
  • 298,606
  • 55
  • 578
  • 516
ohlr
  • 1,839
  • 1
  • 13
  • 29
  • Right you are, re-arranging the 'django.contrib.auth' in INSTALLED_APPS to come after 'my_apps' fixes this issue. – Rickka Sep 15 '20 at 15:03