Opened 18 years ago

Closed 17 years ago

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

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

Download all attachments as: .zip

Change History (5)

by e.j.postma+django-trac@…, 18 years ago

Preliminary patch (untested)

comment:1 by Simon G. <dev@…>, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by James Bennett, 17 years ago

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

Resolution: wontfix
Status: newclosed

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

comment:4 by anonymous, 16 years ago

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