Opened 9 years ago

Closed 8 years ago

Last modified 7 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:


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

Download all attachments as: .zip

Change History (5)

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

Preliminary patch (untested)

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

  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 8 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 8 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 7 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