Skip to main content

A Django App to make sure old URLs work with new URLs.

Project description

Django Permalinks

This Django App acts as an internal redirector. Most likely use cases are when you have changed your URL scheme for a few pages, but your visitors still have the Old URL - this app can help you redirect the old scheme to the new one.

Free URL Shortner

This Django app also provides a free URL shortner. In order to use it:

  1. Use the Django Admin to make a new object of Permalinks.
  2. While creating an object, you should see a link which says "Generate a random string". Click it.
  3. Click the "Use this string" link when it appears.
  4. Enter the long URL in the 'NEW URL' box above.


Install from PyPI:

pip install django-permalinks


  1. Add permalinks to your list of INSTALLED_APPS in

  2. Add the permalinks URLs to of your base app on the top of the list:

    urlpatterns = [
      url('', include('permalinks.urls')),
  3. Add the permalinks middleware to on the top of the list:

  4. Run migrate to create the required table for the permalinks model.

  5. Create your permalinks objects in your Django admin interface.

  6. Test your OLD URLs and their responses by visiting them.

  7. Enjoy a smooth URL migration!

Download files

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

Files for django-permalinks, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size django_permalinks-0.1.4-py3-none-any.whl (9.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-permalinks-0.1.4.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page