{"id":19073112,"url":"https://github.com/lowerdeez/ok-redirects","last_synced_at":"2025-04-28T18:54:54.290Z","repository":{"id":57421094,"uuid":"292787577","full_name":"LowerDeez/ok-redirects","owner":"LowerDeez","description":"Simple redirects app","archived":false,"fork":false,"pushed_at":"2024-02-01T21:31:55.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T13:58:29.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LowerDeez.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-04T08:01:35.000Z","updated_at":"2022-04-14T14:00:01.000Z","dependencies_parsed_at":"2022-09-13T14:21:09.215Z","dependency_job_id":null,"html_url":"https://github.com/LowerDeez/ok-redirects","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LowerDeez%2Fok-redirects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LowerDeez%2Fok-redirects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LowerDeez%2Fok-redirects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LowerDeez%2Fok-redirects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LowerDeez","download_url":"https://codeload.github.com/LowerDeez/ok-redirects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251372457,"owners_count":21578961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T01:45:27.760Z","updated_at":"2025-04-28T18:54:54.233Z","avatar_url":"https://github.com/LowerDeez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================================\ndjango-ok-redirects |PyPI version|\n==================================\n\n|Upload Python Package| |Code Health| |Python Versions| |PyPI downloads| |license| |Project Status|\n\nSimple Redirects App, which is particularly useful in the cases where you want to update some existing URLs without compromising your Website SEO.\n\nInstallation\n============\n\nInstall with pip:\n\n.. code:: shell\n\n    $ pip install django-ok-redirects\n\nUpdate INSTALLED_APPS:\n\n.. code:: python\n\n    INSTALLED_APPS = [\n        ...\n        'ok_redirects',\n        ...\n    ]\n\nMake migrations\n\n.. code:: shell\n\n    $ python manage.py migrate\n\n\nAvailable settings\n==================\n\n``REDIRECTS_IGNORE_PATH_PREFIXES`` - Tuple of path prefixes to ignore.\n\n\nFor example:\n\n.. code:: python\n\n    REDIRECTS_IGNORE_PATH_PREFIXES = (\n        '/api/v1/',\n        '/uploads/',\n        '/static/',\n    )\n\n\nBasic example to use:\n=====================\n\nAdd the redirects middleware to the MIDDLEWARE configuration:\n-------------------------------------------------------------\n\n.. code:: python\n\n    MIDDLEWARE = [\n        ...\n\n        'ok_redirects.middleware.RedirectMiddleware'\n    ]\n\n\n.. |PyPI version| image:: https://badge.fury.io/py/django-ok-redirects.svg\n   :target: https://badge.fury.io/py/django-ok-redirects\n.. |Upload Python Package| image:: https://github.com/LowerDeez/ok-redirects/workflows/Upload%20Python%20Package/badge.svg\n   :target: https://github.com/LowerDeez/ok-redirects/\n   :alt: Build status\n.. |Code Health| image:: https://api.codacy.com/project/badge/Grade/e5078569e40d428283d17efa0ebf9d19\n   :target: https://www.codacy.com/app/LowerDeez/ok-redirects\n   :alt: Code health\n.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/django-ok-redirects.svg\n   :target: https://pypi.org/project/django-ok-redirects/\n   :alt: Python versions\n.. |license| image:: https://img.shields.io/pypi/l/django-ok-redirects.svg\n   :alt: Software license\n   :target: https://github.com/LowerDeez/ok-redirects/blob/master/LICENSE\n.. |PyPI downloads| image:: https://img.shields.io/pypi/dm/django-ok-redirects.svg\n   :alt: PyPI downloads\n.. |Project Status| image:: https://img.shields.io/pypi/status/django-ok-redirects.svg\n   :target: https://pypi.org/project/django-ok-redirects/  \n   :alt: Project Status\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowerdeez%2Fok-redirects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flowerdeez%2Fok-redirects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowerdeez%2Fok-redirects/lists"}