django-regex-redirects


Namedjango-regex-redirects JSON
Version 0.5.0 PyPI version JSON
download
home_page
SummaryDjango redirects, with regular expressions
upload_time2024-03-10 12:03:26
maintainer
docs_urlNone
author
requires_python>=3.8
licenseCopyright (c) 2013, Maykin Media All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the {organization} nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords django regex
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            django-regex-redirects
======================

Django redirects, with regular expressions. It is a modified version of django.contrib.redirects.

Features
========

 * Redirect your visitors using regular expressions
 * Configurable via the admin
 * Redirects are exportable as .csv
 
https://pypi.org/pypi/django-regex-redirects

Install
=======

`pip install django-regex-redirects`

Add `regex_redirects` to your `INSTALLED_APPS`:

```python
INSTALLED_APPS = (
  ...
  "regex_redirects",
  ...
)
```

Add the middleware to your `MIDDLEWARE`:

```python
MIDDLEWARE = [
  "regex_redirects.middleware.RedirectFallbackMiddleware"
  ...
]
```

Run `manage.py migrate` and you're good to go!

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "django-regex-redirects",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "Django,regex",
    "author": "",
    "author_email": "Alex de Landgraaf <alex@maykinmedia.nl>",
    "download_url": "https://files.pythonhosted.org/packages/f5/32/3421cd66e11be6107c3086ba907b047b9f9c8cedda3a3f2e299641e5d111/django-regex-redirects-0.5.0.tar.gz",
    "platform": null,
    "description": "django-regex-redirects\n======================\n\nDjango redirects, with regular expressions. It is a modified version of django.contrib.redirects.\n\nFeatures\n========\n\n * Redirect your visitors using regular expressions\n * Configurable via the admin\n * Redirects are exportable as .csv\n \nhttps://pypi.org/pypi/django-regex-redirects\n\nInstall\n=======\n\n`pip install django-regex-redirects`\n\nAdd `regex_redirects` to your `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = (\n  ...\n  \"regex_redirects\",\n  ...\n)\n```\n\nAdd the middleware to your `MIDDLEWARE`:\n\n```python\nMIDDLEWARE = [\n  \"regex_redirects.middleware.RedirectFallbackMiddleware\"\n  ...\n]\n```\n\nRun `manage.py migrate` and you're good to go!\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2013, Maykin Media All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  Neither the name of the {organization} nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "Django redirects, with regular expressions",
    "version": "0.5.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/maykinmedia/django-regex-redirects/issues",
        "Homepage": "https://github.com/maykinmedia/django-regex-redirects",
        "Source Code": "https://github.com/maykinmedia/django-regex-redirects"
    },
    "split_keywords": [
        "django",
        "regex"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "800784a5986cedd356563cd1f616022eeff091129942d7bd5ec4121efbbb9461",
                "md5": "56b5e821016228f076e72e9ae04e50fb",
                "sha256": "691274a2c42677a668b9d4841285f3008b024ab835b03a045a985ba5c5d4a603"
            },
            "downloads": -1,
            "filename": "django_regex_redirects-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "56b5e821016228f076e72e9ae04e50fb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 11686,
            "upload_time": "2024-03-10T12:03:24",
            "upload_time_iso_8601": "2024-03-10T12:03:24.287721Z",
            "url": "https://files.pythonhosted.org/packages/80/07/84a5986cedd356563cd1f616022eeff091129942d7bd5ec4121efbbb9461/django_regex_redirects-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5323421cd66e11be6107c3086ba907b047b9f9c8cedda3a3f2e299641e5d111",
                "md5": "887375370edc0230f1e82ae5eb5a954d",
                "sha256": "f5b03a90dbbbb0c3c123737429cfc13fc27fa17284522a5aae9807ad73c8efdd"
            },
            "downloads": -1,
            "filename": "django-regex-redirects-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "887375370edc0230f1e82ae5eb5a954d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7687,
            "upload_time": "2024-03-10T12:03:26",
            "upload_time_iso_8601": "2024-03-10T12:03:26.108034Z",
            "url": "https://files.pythonhosted.org/packages/f5/32/3421cd66e11be6107c3086ba907b047b9f9c8cedda3a3f2e299641e5d111/django-regex-redirects-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-10 12:03:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maykinmedia",
    "github_project": "django-regex-redirects",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-regex-redirects"
}
        
Elapsed time: 0.19107s