Bernardo Pires
Bernardo Pires
Why would you want to use the sites framework together with this app? The tenants app should pretty much fulfill what sites was made for.
`get_current_site` is part of the sites framework. Why are you using `get_current_site`?
I actually don't see why sitemaps wouldn't work out of the box. You want one sitemap per tenant right? As long as the correct schema is set it should be...
So it's just the URLs are wrong, but it's fetching everything correctly?
Django doesn't support schemas so there's no reason for it to be fixed on their part. You'll have however to customize the sitemap case for you specifically, by either creating...
I honestly think `STATICFILES_FINDERS` is your best and cleanest bet.
Why do you have to switch to the public schema for that work? AFAIK both the tenant-specific and the public schemas should always be available. See https://github.com/bernardopires/django-tenant-schemas/blob/master/tenant_schemas/postgresql_backend/base.py#L135
Actually this app only migrates shared apps for the public schema and tenant apps for the tenant schemas. That's really the core of this app. Am 12.05.2016 09:44 schrieb "w0rp"...
I think patch #385 fixes this. @mcanaves can you confirm?
I'm not sure why it's trying to access the Dummy model if there is no Dummy associated with the group. Maybe it didn't have any tenant schema available and then...