Skip to main content

This Misago app provides redirects for forums that were migrated from Misago 0.5 to Misago 0.6 and onwards.

Project description

This Misago app provides redirects for forums that were migrated from Misago 0.5 to Misago 0.6 and onwards.

This application exists because Misago 0.7 deprecates and removes the misago.datamover module that originally handled the redirects from old urls to new ones as part of larger package of migrating data from Misago 0.5.

Installation

To install package, run following command when you are in virtualenv that you’ve used to install Misago:

pip install misago-05-redirects

This will install the redirects app in your envinroment and let you enable it in your site configuration. To do this, edit your settings.py, find INSTALLED_APPS in it, and append following line to it:

‘misago05redirects’,

Next, open your urls.py and find line below:

url(r’^’, include(‘misago.urls’, namespace=’misago’)),

Now, prepend new line before it so it looks like this:

url(r’^’, include(‘misago05redirects.urls’)), url(r’^’, include(‘misago.urls’, namespace=’misago’)),

It’s important for new line to come before Misago’s one, or Misago’s url’s handler will intercept and fail on calls to some urls like user lists.

This is it.

Authors

Rafał Pitoń

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

misago-05-redirects-0.0.1.tar.gz (10.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page