Document how to deploy multiple sites using the sites framework
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
the SITE_ID configuration is per settings.py .
given the settings.py is unique per django project then this contradicts the whole purpose of sites framework to serve multiple domains using same django project .
i found information elsewhere about defining multiple wsgi.py files for each domain .
meaning in directory where django's default wsgi.py exist should have domain1_wsgi.py and domain2_wsgi.py
and in http server configuration to define parallel wsgi instances per file .
this information looks crucial for sites to actually server its purpose but it is not included in documentation, unless i somehow haven't understood how it is supposed to work .
Change History (13)
comment:1 Changed 3 years ago by
|Patch needs improvement:||unset|
comment:9 Changed 2 years ago by
|Summary:||sites SITE_ID → Document how to deploy multiple sites using the sites framework|
|Type:||Bug → Cleanup/optimization|