Opened 20 months ago
Closed 20 months ago
#34526 closed Bug (wontfix)
issue in admin with sites
Reported by: | Mohamed El-Kalioby | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 4.2 |
Severity: | Normal | Keywords: | admin sites |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Lets assume that there is a client model which is using the current_site manager so that each site can manage their own clients. But what happens that the admin app always show the clients that belongs to SITE_ID regardless of the domain the admin accessed from.
Affected Module: contrib.admin
Solution tried: setting the default_manager for client model.
Change History (2)
comment:1 by , 20 months ago
Component: | Uncategorized → contrib.admin |
---|---|
Description: | modified (diff) |
Keywords: | admin sites added |
comment:2 by , 20 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Hi,
Thanks for the report, though what you've described is expected behaviour.
If you'd like contrib.admin to access all clients then you'd need to use the default manager for that. If you disagree and believe that behaviour needs to change then it's best to start a discussion on the Django forum where you'll encounter a larger audience from which a decision can be made to update Django: https://code.djangoproject.com/wiki/DevelopersMailingList
If you need assistance in updating your admin setup you can get support in the following areas: https://www.djangoproject.com/community/
Thanks!