#4247 closed (wontfix)
Make django.contrib.auth.views accept named argument template_loader
| Reported by: | 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)
Change History (5)
by , 19 years ago
| Attachment: | make-django.contrib.auth.views-accept-template_loader.diff added |
|---|
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:2 by , 18 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 , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Without a solid use case, we really can't do much with this ticket.
comment:4 by , 17 years ago
The reason this would be necessary is to make use of template systems other than django's.
Preliminary patch (untested)