Code

Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#4247 closed (wontfix)

Make django.contrib.auth.views accept named argument template_loader

Reported by: e.j.postma+django-trac@… Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The functions in django.contrib.auth.views do not accept a named argument template_loader, like the generic views do. Am attaching a patch that fixes this. There's no documentation yet; I'm quite willing to write that if there's any interest in this.

Attachments (1)

make-django.contrib.auth.views-accept-template_loader.diff (5.0 KB) - added by e.j.postma+django-trac@… 7 years ago.
Preliminary patch (untested)

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by e.j.postma+django-trac@…

Preliminary patch (untested)

comment:1 Changed 7 years ago by Simon G. <dev@…>

  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 7 years ago by ubernostrum

Out of curiosity, what problem does this solve? Django already tries all of the loaders in TEMPLATE_LOADERS, in order, so in theory you can use that.

comment:3 Changed 6 years ago by jacob

  • Resolution set to wontfix
  • Status changed from new to closed

Without a solid use case, we really can't do much with this ticket.

comment:4 Changed 5 years ago by anonymous

The reason this would be necessary is to make use of template systems other than django's.

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.