Code

Opened 5 years ago

Closed 5 years ago

#10286 closed (wontfix)

Get EmailMessage.content_subtype default value from settings.py

Reported by: ajcontreras Owned by: nobody
Component: Core (Mail) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I want to propose a new feature.I want to use my own password reset html template (password_reset_email.html) but the default content_subtype for EmailMessage is 'plain', so I can't use rich html templates right now, just text, and I don't want to override PasswordResetForm class. Then, the question is: is it possible to change this property to get value from settings.py, like encoding?.

Thanks.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:2 Changed 5 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

You may not want to override PasswordResetForm, but that's what you should do here, anyway. This isn't worth adding Yet Another Setting for something this simple.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.