Thanks! It works exactly as I needed.

W dniu poniedziałek, 20 października 2014 16:45:24 UTC+2 użytkownik Josh 
Cartmell napisał:
>
> Hey Krzysztof, you could probably just modify the manager of the Product 
> class (
> https://bitbucket.org/stephenmcd/cartridge/src/efc8b91ab05690d56a805d61541eb038661e0500/cartridge/shop/models.py?at=default#cl-122
> ).
>
> Instead of using the DisplayableManager (
> https://bitbucket.org/stephenmcd/mezzanine/src/f893b9d109903341dfcba5bbc14f92b75d61e57f/mezzanine/core/managers.py?at=default#cl-353),
>  
> use a manage of your own that is exactly the same except doesn't inherit 
> from CurrentSiteManager.  The CurrentSiteManager is what restricts Products 
> (and other things in Mezzanine) to only show up on the site they were 
> created on.
>
> On Mon, Oct 20, 2014 at 7:43 AM, Krzysztof Szydłowski <[email protected] 
> <javascript:>> wrote:
>
>> Hi everybody! Is it possible to maintain one product base in 
>> multi-tenancy? For example there is shopA, shopB and productA, productB, 
>> productC. We set up products only once but we can publish productA and 
>> productB on shopA site and productB and productC on shopB site. Please give 
>> me a hint. Which model could I modify to force using single product base 
>> across sites?
>>
>> Thanks,
>> Krzysztof
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to