Opened 17 years ago

Closed 17 years ago

#5783 closed (wontfix)

`get_absolute_url` for User model should be configurable

Reported by: wnielson Owned by: nobody
Component: Contrib apps Version: newforms-admin
Severity: Keywords: get_absolute_url
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The hardcoded get_absolute_url in django.contrib.auth.models.User should be enduser configurable.

Attachments (1)

auth_user_url.diff (1.1 KB ) - added by wnielson 17 years ago.

Download all attachments as: .zip

Change History (4)

by wnielson, 17 years ago

Attachment: auth_user_url.diff added

comment:1 by anonymous, 17 years ago

Resolution: invalid
Status: newclosed

comment:2 by Matt McClanahan, 17 years ago

Resolution: invalid
Status: closedreopened
Triage Stage: UnreviewedDesign decision needed

Undoing anonymous drive-by triaging.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: wontfix
Status: reopenedclosed

No, I don't think we want to introduce another setting just for this. If you want to change it, you can replace User.get_absolute_url with your own function by assigning to the attribute or use absolute url overrides as mentioned in the associated django-dev thread.

In fact, all the discussion in that thread is interesting, but this particular ticket is not the solution.

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