#16789 closed Cleanup/optimization (fixed)
use named urls in django.contrib.auth.urls
| Reported by: | Owned by: | Flavio Curella | |
|---|---|---|---|
| Component: | contrib.auth | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | chris@… | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Use named urls in django.contrib.auth: eat own dogfood and make it possible to use reverse auth urls for everyone! Freedom to the people!
Attachments (3)
Change History (19)
by , 14 years ago
| Attachment: | named_auth_urls_ticket16789.diff added |
|---|
comment:1 by , 14 years ago
| Component: | Uncategorized → contrib.auth |
|---|
comment:2 by , 14 years ago
| Has patch: | set |
|---|---|
| Needs documentation: | set |
I think we should document the view names somewhere in the docs.
comment:3 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 14 years ago
| Needs documentation: | unset |
|---|---|
| Owner: | changed from to |
| Status: | assigned → new |
| Triage Stage: | Unreviewed → Accepted |
Updated patch with documentation. Sending to fcurella for review.
comment:5 by , 14 years ago
Hi cmheisel,
It seems the diff contains more than one fix. Could you please look into this?
Thanks!
Wim
comment:7 by , 14 years ago
| Cc: | added |
|---|
comment:8 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:9 by , 14 years ago
| Needs tests: | set |
|---|---|
| Triage Stage: | Ready for checkin → Accepted |
Not sure if tests for this patch would be overkill.
comment:12 by , 14 years ago
Hi cmheisel,
Thanks for the patch! I want to run it and the tests to mark it as Ready for Checkin, however, unfortunately, I am unable to apply your patch, because it is not a svn diff. Could you make it into a svn diff?
As far as I know, patches are supplied here as svn diffs at the ticket. Or did I miss something and did this policy change?
Wim
comment:13 by , 14 years ago
Wim,
Sure thing, I didn't realize they weren't compatible.
I'll generate a plain-ole-diff and resubmit.
Chris
comment:14 by , 14 years ago
The docs clearly indicate that git style patches are acceptable: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#patch-style
comment:15 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Thanks Alex.
Patch and docs are complete, so: ready for check-in.
add names to auth/urls.py