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.
Copyright and license
Copyright © 2017 Rafał Pitoń This program comes with ABSOLUTELY NO WARRANTY.
This is free software and you are welcome to modify and redistribute it under the conditions described in the license. For the complete license, refer to LICENSE.rst
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file misago-05-redirects-0.0.1.tar.gz
.
File metadata
- Download URL: misago-05-redirects-0.0.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c41a24f8561cebcfcd2a6b3f5963e5dc1f20c93233f1a37b3b9e27e60b85856 |
|
MD5 | f42e95aeffffb29dc04aeb64d74fddde |
|
BLAKE2b-256 | 813d2bdce295dbf3ea47218dbab694e1d5e5653a62161a990590b6b0a6a12000 |