{ "info": { "author": "Social WiFi", "author_email": "kontakt@socialwifi.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# django-url-migration\n\nA custom 404 handler that uses fixed or regex rules to redirect from old to new urls.\n\n* Fixed URL -> URL rules\n* Regex rules\n* Usage logging\n* Removal of unused url migrations\n\n\nConfiguration\n-------------\n\n* Add custom 404 handler to your main urls.py:\n\n```\nhandler404 = 'url_migration.views.page_not_found'\n```\n* Add `url_migration` to your `INSTALLED_APPS`.\n* Run migrations (`manage.py migrate`)\n* Check your Django admin for the url_migration models:\n * Url mappings: fixed url -> url rules\n * Url regexp mappings: regex rules that will generate url mapping for every regex match.\n\n`remove_expired_redirects` management command may be used to remove expired url mappings -\n if the mapping isn't used for given expiry time it will be removed (so you can see which old urls are still used).\n\nEvery mapping hit is being logged to `LastUsageLog` model.\n\nYou can also check url_migration_demo project in this repository.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/socialwifi/django-url-migration", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-url-migration", "package_url": "https://pypi.org/project/django-url-migration/", "platform": "", "project_url": "https://pypi.org/project/django-url-migration/", "project_urls": { "Homepage": "https://github.com/socialwifi/django-url-migration" }, "release_url": "https://pypi.org/project/django-url-migration/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Advanced url migration application", "version": "0.1.1" }, "last_serial": 2851228, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "57cd941d4be40ab70c73e82b534c36f2", "sha256": "c253532203edcb07f4050b126c5b857d8032e3e0fd6f5a587239bde640a6d9a2" }, "downloads": -1, "filename": "django-url-migration-0.1.0.tar.gz", "has_sig": false, "md5_digest": "57cd941d4be40ab70c73e82b534c36f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6088, "upload_time": "2017-05-04T11:58:12", "url": "https://files.pythonhosted.org/packages/44/5a/380477c22301afd3ca5d40773fda65d79b18e46da99086efd12111e17c54/django-url-migration-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7847112d7327c6393b485fe81313a7c3", "sha256": "98fa30f3d096feb3cc03297e5ce9805c2b23c92a51d3f89d2113daf262161a9a" }, "downloads": -1, "filename": "django-url-migration-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7847112d7327c6393b485fe81313a7c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6193, "upload_time": "2017-05-04T13:14:18", "url": "https://files.pythonhosted.org/packages/5b/44/f242e65708a0f3a100c25c783262c6afb336b810b9d5286eaffe40dafd29/django-url-migration-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7847112d7327c6393b485fe81313a7c3", "sha256": "98fa30f3d096feb3cc03297e5ce9805c2b23c92a51d3f89d2113daf262161a9a" }, "downloads": -1, "filename": "django-url-migration-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7847112d7327c6393b485fe81313a7c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6193, "upload_time": "2017-05-04T13:14:18", "url": "https://files.pythonhosted.org/packages/5b/44/f242e65708a0f3a100c25c783262c6afb336b810b9d5286eaffe40dafd29/django-url-migration-0.1.1.tar.gz" } ] }