Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.

Project details


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
misago-05-redirects-0.0.1.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None May 30, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page