Django

Code

Ticket #9463 (closed: wontfix)

Opened 1 year ago

Last modified 1 year ago

Allow filtering on UserProfiles that are inline

Reported by: cornbread Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: 1.0 Keywords: filter, user profile
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

I have a user profile associated with every user. For ease of use I have the form inline with my user admin so I can see all of the user information at one time. In the users portion of the admin I have added city, state, address, and is_owner.

This is something that is probably a very common thing to do. Recently I have wanted to filter by owners and have not figured out a way how to do so. Please consider this as a feature in the future.

Attachments

Change History

10/29/08 13:24:58 changed by anonymous

  • needs_better_patch changed.
  • component changed from Template system to django.contrib.admin.
  • needs_tests changed.
  • needs_docs changed.

10/31/08 17:57:49 changed by cornbread

I would actually suggest a way to have the user profile show up in the users admin page. maybe in Meta: show_user_profile. then user_profile_fields = ('address', 'city', 'state', 'zip', etc)

02/09/09 03:05:22 changed by SmileyChris

cornbread, there's already that way (you unregister the User model then reregister it with a subclassed manager which uses an inline to your profile)

If this is a solution to this ticket then please close it.

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted

02/26/09 13:54:08 changed by jacob

  • status changed from new to closed.
  • resolution set to wontfix.

See what Chris said.


Add/Change #9463 (Allow filtering on UserProfiles that are inline)




Change Properties
Action