{ "info": { "author": "Daniel Hepper", "author_email": "daniel@consideratecode.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only" ], "description": "===========================\nDjango Model Path Converter\n===========================\n\n\n.. image:: https://img.shields.io/pypi/v/django-model-path-converter.svg\n :target: https://pypi.python.org/pypi/django-model-path-converter\n\n.. image:: https://img.shields.io/travis/dhepper/django-model-path-converter.svg\n :target: https://travis-ci.org/dhepper/django-model-path-converter\n\n.. image:: https://readthedocs.org/projects/model-path-converter/badge/?version=latest\n :target: https://model-path-converter.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nThe Django Model Path Converter package dynamically creates custom path converters for you models.\n\n* Free software: MIT license\n* Documentation: https://django-model-path-converter.readthedocs.io.\n* Background story: https://consideratecode.com/django-model-path-converters\n\nQuickstart\n----------\n\nInstall the latest version::\n\n pip install django-model-path-converter\n\nImport `register_model_converter` and your model in your `urls.py`::\n\n from model_path_converter import register_model_converter\n from .models import MyModel\n\nRegister a converter for your model::\n\n register_model_converter(MyModel)\n\nUse the new converter in your path definitions::\n\n path('/', views.my_view, name='my-view')\n\nYour view `my_view` will now receive a `MyModel` instance as argument.\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-05-11)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dhepper/django-model-path-converter", "keywords": "django-model-path-converter", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "django-model-path-converter", "package_url": "https://pypi.org/project/django-model-path-converter/", "platform": "", "project_url": "https://pypi.org/project/django-model-path-converter/", "project_urls": { "Homepage": "https://github.com/dhepper/django-model-path-converter" }, "release_url": "https://pypi.org/project/django-model-path-converter/0.1.0/", "requires_dist": [ "django (>=2)" ], "requires_python": "", "summary": "The Django Model Path Converter package dynamically creates custom path converters for you models.", "version": "0.1.0" }, "last_serial": 3854000, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "813081a51a06a369f485412d350a816a", "sha256": "7f3592599905fd5f01340152c8547f191173715cb2cf5f31b165112f4a0d13b6" }, "downloads": -1, "filename": "django_model_path_converter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "813081a51a06a369f485412d350a816a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3027, "upload_time": "2018-05-11T12:39:54", "url": "https://files.pythonhosted.org/packages/31/6c/d8dec74e71e85a2f2c871168f0720a555b5ff5c61c0b8b5d2e5a0306a052/django_model_path_converter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "120af15baf8abe6fc39ba813561f0dd2", "sha256": "12b1114bc266feb03bac25fbb3a85fbecf7c5c64a3d5747db92021e401f9f6e8" }, "downloads": -1, "filename": "django-model-path-converter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "120af15baf8abe6fc39ba813561f0dd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15721, "upload_time": "2018-05-11T12:39:55", "url": "https://files.pythonhosted.org/packages/3c/3c/c5ed457c1497ba965aca225563f48b2d9533aa152973c0e0be15138a4c6e/django-model-path-converter-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "813081a51a06a369f485412d350a816a", "sha256": "7f3592599905fd5f01340152c8547f191173715cb2cf5f31b165112f4a0d13b6" }, "downloads": -1, "filename": "django_model_path_converter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "813081a51a06a369f485412d350a816a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3027, "upload_time": "2018-05-11T12:39:54", "url": "https://files.pythonhosted.org/packages/31/6c/d8dec74e71e85a2f2c871168f0720a555b5ff5c61c0b8b5d2e5a0306a052/django_model_path_converter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "120af15baf8abe6fc39ba813561f0dd2", "sha256": "12b1114bc266feb03bac25fbb3a85fbecf7c5c64a3d5747db92021e401f9f6e8" }, "downloads": -1, "filename": "django-model-path-converter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "120af15baf8abe6fc39ba813561f0dd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15721, "upload_time": "2018-05-11T12:39:55", "url": "https://files.pythonhosted.org/packages/3c/3c/c5ed457c1497ba965aca225563f48b2d9533aa152973c0e0be15138a4c6e/django-model-path-converter-0.1.0.tar.gz" } ] }