How can I get a few sites similar in functionality, but different in appearance and content – all data will be different.
Change SITE_ID on the fly and write own template loader & staticfile finder (same URL /static/ for different sites indicates to different categories) and add ForeignKey to Site for all?
or are there other ways to?
Thanks!
I did something similar to yourself.
I have a helper method in my views which gets the host.
def getHost(request):
return request.META[‘SERVER_NAME’]
Then depending on the host i have my static dir broken into the 2 sites
static/host1/
static/host2/
and i do the same for templates i split it into 2 directories and call the appropriote one!