Opened 12 years ago

Closed 11 years ago

Last modified 10 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: no UI/UX: no


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@… 12 years ago.
Preliminary patch (untested)

Download all attachments as: .zip

Change History (5)

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

Preliminary patch (untested)

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

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 12 years ago by James Bennett

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 11 years ago by Jacob

Resolution: wontfix
Status: newclosed

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

comment:4 Changed 10 years ago by anonymous

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

Note: See TracTickets for help on using tickets.
Back to Top