Merge lp://staging/~mhall119/developer-ubuntu-com/redirects-app into lp://staging/developer-ubuntu-com

Proposed by Michael Hall
Status: Merged
Merged at revision: 227
Proposed branch: lp://staging/~mhall119/developer-ubuntu-com/redirects-app
Merge into: lp://staging/developer-ubuntu-com
Diff against target: 263 lines (+175/-23)
9 files modified
developer_portal/settings.py (+2/-0)
redirects/admin.py (+9/-0)
redirects/middleware.py (+35/-0)
redirects/migrations/0001_initial.py (+23/-0)
redirects/migrations/0002_auto_20160720_1339.py (+29/-0)
redirects/migrations/0003_auto_20160720_1355.py (+24/-0)
redirects/models.py (+19/-0)
redirects/tests.py (+34/-0)
templates/404.html (+0/-23)
To merge this branch: bzr merge lp://staging/~mhall119/developer-ubuntu-com/redirects-app
Reviewer Review Type Date Requested Status
Ubuntu App Developer site developers Pending
Review via email: mp+300538@code.staging.launchpad.net

Description of the change

Adds a new 'redirects' django app that will attempt to perform a 301 redirect in response to a 404 reponse, based on a number of redirects defined in the database via the admin interface.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Nice work! Doing a local test now.

227. By Michael Hall

Add migration script to get redirects models up to date

228. By Michael Hall

Add example paths to help_text in redirects

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches