Merge lp:~gesha/linaro-license-protection/add-multiple-sites-support into lp:~linaro-automation/linaro-license-protection/trunk
Proposed by
Georgy Redkozubov
Status: | Superseded |
---|---|
Proposed branch: | lp:~gesha/linaro-license-protection/add-multiple-sites-support |
Merge into: | lp:~linaro-automation/linaro-license-protection/trunk |
Diff against target: |
261 lines (+212/-0) 8 files modified
license_protected_downloads/wsgi_releases.py (+42/-0) license_protected_downloads/wsgi_snapshots.py (+42/-0) middleware.py (+19/-0) releases_urls.py (+36/-0) settings.py (+6/-0) settings_releases.py (+16/-0) settings_snapshots.py (+15/-0) snapshots_urls.py (+36/-0) |
To merge this branch: | bzr merge lp:~gesha/linaro-license-protection/add-multiple-sites-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Tunnicliffe (community) | Approve | ||
Review via email: mp+117659@code.launchpad.net |
This proposal has been superseded by a proposal from 2012-08-06.
Description of the change
This branch adds support of multi-sites per single Django application. It is now configured to serve releases.linaro.org and snapshots.
To post a comment you must log in.
Looks fine.
Since we have multiple settings and wsgi files it would be possible to use a separate database for each site and remove the site_id requirement. The databases build themselves up as they go, so unless the OpenID code stores data in them, we can just delete the existing database at a later date and start fresh.
Currently the set up uses sqlite3, which is fine for development but not for deployment, but I assume you and the sys-admins know that and will use a more traditional database when live!