djangocms-redirect


Namedjangocms-redirect JSON
Version 0.7.2 PyPI version JSON
download
home_pagehttps://github.com/nephila/djangocms-redirect
SummaryA django CMS enabled application to handle redirects
upload_time2023-09-26 08:59:06
maintainer
docs_urlNone
authorIacopo Spalletti
requires_python>=3.6
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            =============================
djangocms-redirect
=============================

|Gitter| |PyPiVersion| |PyVersion| |GAStatus| |TestCoverage| |CodeClimate| |License|


A django CMS enabled application to handle redirects

This is heavily borrowed from ``django.contrib.redirects`` with three major changes:

* Selection of django CMS pages
* Selection of redirect status code
* Middleware can processed in the request or response phase

****************************
Why using process_request?
****************************

Doing database queries in the middleware ``process_request`` is heavily discouraged as it's a
performance hit, especially when doing redirects which are just a tiny part of the
processed requests.
Except that sometimes it's just what you need (for example to "hide" content without deleting
/ unpublishing it)
By caching both existing and non existing redirects for a given URL the performance hit is
minimized for the use cases that requires ``process_request``.

****************************
Documentation
****************************

The full documentation is at https://djangocms-redirect.readthedocs.io.

****************************
Installation
****************************

See https://djangocms-redirect.readthedocs.io/en/latest/installation.html

****************************
Features
****************************

* Set old and new path, by selection existing django CMS pages or writing down the complete address
* Select the redirect status code (301, 302)
* Support for status code 410

****************************
Credits
****************************

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage-helper`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage-helper`: https://github.com/nephila/cookiecutter-djangopackage-helper


.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg?style=flat-square
    :target: https://gitter.im/nephila/applications
    :alt: Join the Gitter chat

.. |PyPiVersion| image:: https://img.shields.io/pypi/v/djangocms-redirect.svg?style=flat-square
    :target: https://pypi.python.org/pypi/djangocms-redirect
    :alt: Latest PyPI version

.. |PyVersion| image:: https://img.shields.io/pypi/pyversions/djangocms-redirect.svg?style=flat-square
    :target: https://pypi.python.org/pypi/djangocms-redirect
    :alt: Python versions

.. |GAStatus| image:: https://github.com/nephila/djangocms-redirect/workflows/Tox%20tests/badge.svg
    :target: https://github.com/nephila/djangocms-redirect
    :alt: Latest CI build status

.. |TestCoverage| image:: https://img.shields.io/coveralls/nephila/djangocms-redirect/master.svg?style=flat-square
    :target: https://coveralls.io/r/nephila/djangocms-redirect?branch=master
    :alt: Test coverage

.. |License| image:: https://img.shields.io/github/license/nephila/djangocms-redirect.svg?style=flat-square
   :target: https://pypi.python.org/pypi/djangocms-redirect/
    :alt: License

.. |CodeClimate| image:: https://codeclimate.com/github/nephila/djangocms-redirect/badges/gpa.svg?style=flat-square
   :target: https://codeclimate.com/github/nephila/djangocms-redirect
   :alt: Code Climate

.. :changelog:

*******
History
*******

.. towncrier release notes start

0.7.2 (2023-09-26)
==================

Features
--------

- Migrate to bump-my-version (#56)


0.7.1 (2023-08-11)
==================

Features
--------

- Add missing subpath_match and catchall_redirect fields in admin (#44)


Bugfixes
--------

- Fix django-multisite compatibility issue (#47)


0.7.0 (2023-08-09)
==================

Features
--------

- Add django 4.2 compatibility, drop python<3.9, djangocms<3.9 and django<3.2 (#42)


0.6.0 (2020-11-15)
==================

Features
--------

- Drop Python 2, Django < 2.2 - Update toolchain (#39)
- Fix Handling of trailing slashes in redirects (#31)


Unreleased
==================

* Nothing yet

0.5.0 (2019-12-27)
==================

* Add compatibility with Django 2.2
* Drop compatibility with Django < 1.11
* Drop compatibility with django CMS < 3.6
* Move to django-app-helper
* Add support to match unquoted strings as redirect old path

0.4.0 (2019-08-22)
==================

* Add subpath matching

0.3.1 (2019-07-13)
==================

* Ignore querystring when matching redirect objects

0.3.0 (2019-03-11)
==================

* Added compatibility to Django 2.0, 2.1

0.2.3 (unreleased)
==================

* Add support to match unquoted strings as redirect old path

0.2.2 (2019-06-02)
==================

* Ignore querystring when matching redirect objects

0.2.1 (2019-04-22)
==================

* Fixed compatibility issue with Django 1.8

0.2.0 (2018-11-03)
==================

* Updated for Django 1.11
* Added configurable cache timeout
* Added configuration option to check redirect on 404 only

0.1.1 (2017-11-19)
==================

* Added missing migration.
* Fixed compatibility issue with Django 1.8

0.1.0 (2016-02-01)
==================

* First release on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nephila/djangocms-redirect",
    "name": "djangocms-redirect",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Iacopo Spalletti",
    "author_email": "i.spalletti@nephila.it",
    "download_url": "https://files.pythonhosted.org/packages/ac/04/91f26fa52132dbfab89bbcf9d6ec6e9ea34208787c5f1d7d86dfa77d4fc8/djangocms-redirect-0.7.2.tar.gz",
    "platform": null,
    "description": "=============================\ndjangocms-redirect\n=============================\n\n|Gitter| |PyPiVersion| |PyVersion| |GAStatus| |TestCoverage| |CodeClimate| |License|\n\n\nA django CMS enabled application to handle redirects\n\nThis is heavily borrowed from ``django.contrib.redirects`` with three major changes:\n\n* Selection of django CMS pages\n* Selection of redirect status code\n* Middleware can processed in the request or response phase\n\n****************************\nWhy using process_request?\n****************************\n\nDoing database queries in the middleware ``process_request`` is heavily discouraged as it's a\nperformance hit, especially when doing redirects which are just a tiny part of the\nprocessed requests.\nExcept that sometimes it's just what you need (for example to \"hide\" content without deleting\n/ unpublishing it)\nBy caching both existing and non existing redirects for a given URL the performance hit is\nminimized for the use cases that requires ``process_request``.\n\n****************************\nDocumentation\n****************************\n\nThe full documentation is at https://djangocms-redirect.readthedocs.io.\n\n****************************\nInstallation\n****************************\n\nSee https://djangocms-redirect.readthedocs.io/en/latest/installation.html\n\n****************************\nFeatures\n****************************\n\n* Set old and new path, by selection existing django CMS pages or writing down the complete address\n* Select the redirect status code (301, 302)\n* Support for status code 410\n\n****************************\nCredits\n****************************\n\nTools used in rendering this package:\n\n*  Cookiecutter_\n*  `cookiecutter-djangopackage-helper`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage-helper`: https://github.com/nephila/cookiecutter-djangopackage-helper\n\n\n.. |Gitter| image:: https://img.shields.io/badge/GITTER-join%20chat-brightgreen.svg?style=flat-square\n    :target: https://gitter.im/nephila/applications\n    :alt: Join the Gitter chat\n\n.. |PyPiVersion| image:: https://img.shields.io/pypi/v/djangocms-redirect.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/djangocms-redirect\n    :alt: Latest PyPI version\n\n.. |PyVersion| image:: https://img.shields.io/pypi/pyversions/djangocms-redirect.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/djangocms-redirect\n    :alt: Python versions\n\n.. |GAStatus| image:: https://github.com/nephila/djangocms-redirect/workflows/Tox%20tests/badge.svg\n    :target: https://github.com/nephila/djangocms-redirect\n    :alt: Latest CI build status\n\n.. |TestCoverage| image:: https://img.shields.io/coveralls/nephila/djangocms-redirect/master.svg?style=flat-square\n    :target: https://coveralls.io/r/nephila/djangocms-redirect?branch=master\n    :alt: Test coverage\n\n.. |License| image:: https://img.shields.io/github/license/nephila/djangocms-redirect.svg?style=flat-square\n   :target: https://pypi.python.org/pypi/djangocms-redirect/\n    :alt: License\n\n.. |CodeClimate| image:: https://codeclimate.com/github/nephila/djangocms-redirect/badges/gpa.svg?style=flat-square\n   :target: https://codeclimate.com/github/nephila/djangocms-redirect\n   :alt: Code Climate\n\n.. :changelog:\n\n*******\nHistory\n*******\n\n.. towncrier release notes start\n\n0.7.2 (2023-09-26)\n==================\n\nFeatures\n--------\n\n- Migrate to bump-my-version (#56)\n\n\n0.7.1 (2023-08-11)\n==================\n\nFeatures\n--------\n\n- Add missing subpath_match and catchall_redirect fields in admin (#44)\n\n\nBugfixes\n--------\n\n- Fix django-multisite compatibility issue (#47)\n\n\n0.7.0 (2023-08-09)\n==================\n\nFeatures\n--------\n\n- Add django 4.2 compatibility, drop python<3.9, djangocms<3.9 and django<3.2 (#42)\n\n\n0.6.0 (2020-11-15)\n==================\n\nFeatures\n--------\n\n- Drop Python 2, Django < 2.2 - Update toolchain (#39)\n- Fix Handling of trailing slashes in redirects (#31)\n\n\nUnreleased\n==================\n\n* Nothing yet\n\n0.5.0 (2019-12-27)\n==================\n\n* Add compatibility with Django 2.2\n* Drop compatibility with Django < 1.11\n* Drop compatibility with django CMS < 3.6\n* Move to django-app-helper\n* Add support to match unquoted strings as redirect old path\n\n0.4.0 (2019-08-22)\n==================\n\n* Add subpath matching\n\n0.3.1 (2019-07-13)\n==================\n\n* Ignore querystring when matching redirect objects\n\n0.3.0 (2019-03-11)\n==================\n\n* Added compatibility to Django 2.0, 2.1\n\n0.2.3 (unreleased)\n==================\n\n* Add support to match unquoted strings as redirect old path\n\n0.2.2 (2019-06-02)\n==================\n\n* Ignore querystring when matching redirect objects\n\n0.2.1 (2019-04-22)\n==================\n\n* Fixed compatibility issue with Django 1.8\n\n0.2.0 (2018-11-03)\n==================\n\n* Updated for Django 1.11\n* Added configurable cache timeout\n* Added configuration option to check redirect on 404 only\n\n0.1.1 (2017-11-19)\n==================\n\n* Added missing migration.\n* Fixed compatibility issue with Django 1.8\n\n0.1.0 (2016-02-01)\n==================\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A django CMS enabled application to handle redirects",
    "version": "0.7.2",
    "project_urls": {
        "Documentation": "https://djangocms-redirect.readthedocs.io/",
        "Homepage": "https://github.com/nephila/djangocms-redirect"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a332136a2d9e02fa41933a8d398d0c867fb390b03632ed7d3cf44e3dff95794d",
                "md5": "00749f7dd5fd6ad48a29ed138f22a838",
                "sha256": "9f258258ec8ea2205141e343e81194e981a402c58a7a42bafe01bf3798496e8e"
            },
            "downloads": -1,
            "filename": "djangocms_redirect-0.7.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00749f7dd5fd6ad48a29ed138f22a838",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 11775,
            "upload_time": "2023-09-26T08:59:05",
            "upload_time_iso_8601": "2023-09-26T08:59:05.502303Z",
            "url": "https://files.pythonhosted.org/packages/a3/32/136a2d9e02fa41933a8d398d0c867fb390b03632ed7d3cf44e3dff95794d/djangocms_redirect-0.7.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac0491f26fa52132dbfab89bbcf9d6ec6e9ea34208787c5f1d7d86dfa77d4fc8",
                "md5": "8723f17db26412dbfe8cb46f72937975",
                "sha256": "c7dc3b4bbac7b64d9a3b3e43e6cb8ed2da6777f17897103bb7e7fd69053ba010"
            },
            "downloads": -1,
            "filename": "djangocms-redirect-0.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "8723f17db26412dbfe8cb46f72937975",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 14906,
            "upload_time": "2023-09-26T08:59:06",
            "upload_time_iso_8601": "2023-09-26T08:59:06.531093Z",
            "url": "https://files.pythonhosted.org/packages/ac/04/91f26fa52132dbfab89bbcf9d6ec6e9ea34208787c5f1d7d86dfa77d4fc8/djangocms-redirect-0.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-26 08:59:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nephila",
    "github_project": "djangocms-redirect",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "djangocms-redirect"
}
        
Elapsed time: 0.18092s