0

I'm trying to wrap my head around the Site framework in Django. One part I don't really get is the SITE ID. I am working on a db for my photographer friends to store their content. They have different domains und using the "get_current_site()" shortcut I can get their respective content.

However to use the default manager:

The CurrentSiteManager is only usable when the SITE_ID setting is defined in your settings.

So how would I set multiple SITE_IDs? Can I just make it work based on the domain? And if not how to do a different setting per domain? it's all a single project..

Thank you for your help.

EDIT: Is creating multiple wsgi files what I need to do?

JasonTS
  • 2,479
  • 4
  • 32
  • 48

0 Answers0