We ran into this problem and decided to extend Django's
CurrentSiteMiddleware to allow for the specification of a default site to
use in the case when you cannot determine the current site from the host of
the incoming request.
Description of
problem: https://groups.google.com/forum/#!topic/ed
Hi,
Shouldn’t django.contrib.sites.models.SiteManager.get_current() first check
the given request to determine the current site and then look at the
SITE_ID setting?
I would like to have multiple Sites and choose the current site based on
the context of the request, but fall back to the c
2 matches
Mail list logo