Opened 9 years ago

Closed 9 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: UI/UX:

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 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by wnielson

Attachment: auth_user_url.diff added

comment:1 Changed 9 years ago by anonymous

Resolution: invalid
Status: newclosed

comment:2 Changed 9 years ago by Matt McClanahan

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

Undoing anonymous drive-by triaging.

comment:3 Changed 9 years ago by Malcolm Tredinnick

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