Affected Module: contrib.admin
--
Ticket URL: <https://code.djangoproject.com/ticket/34526>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* keywords: => admin sites
* component: Uncategorized => contrib.admin
Old description:
> 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
New description:
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.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34526#comment:1>
* status: new => closed
* resolution: => wontfix
Comment:
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!
--
Ticket URL: <https://code.djangoproject.com/ticket/34526#comment:2>