Document how to deploy multiple sites using the sites framework
|Reported by:||yakoub abaya <sting606@…>||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 19 months ago by aaugustin
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:3 Changed 19 months ago by aaugustin
comment:9 Changed 11 months ago by timgraham
- Has patch set
- Summary changed from sites SITE_ID to Document how to deploy multiple sites using the sites framework
- Type changed from Bug to Cleanup/optimization
Changed 11 months ago by timgraham
comment:10 Changed 10 months ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed