Metadata-Version: 1.1
Name: django-model-path-converter
Version: 0.1.0
Summary: The Django Model Path Converter package dynamically creates custom path converters for you models.
Home-page: https://github.com/dhepper/django-model-path-converter
Author: Daniel Hepper
Author-email: daniel@consideratecode.com
License: MIT license
Description: ===========================
        Django Model Path Converter
        ===========================
        
        
        .. image:: https://img.shields.io/pypi/v/django-model-path-converter.svg
                :target: https://pypi.python.org/pypi/django-model-path-converter
        
        .. image:: https://img.shields.io/travis/dhepper/django-model-path-converter.svg
                :target: https://travis-ci.org/dhepper/django-model-path-converter
        
        .. image:: https://readthedocs.org/projects/model-path-converter/badge/?version=latest
                :target: https://model-path-converter.readthedocs.io/en/latest/?badge=latest
                :alt: Documentation Status
        
        The Django Model Path Converter package dynamically creates custom path converters for you models.
        
        * Free software: MIT license
        * Documentation: https://django-model-path-converter.readthedocs.io.
        * Background story: https://consideratecode.com/django-model-path-converters
        
        Quickstart
        ----------
        
        Install the latest version::
        
            pip install django-model-path-converter
        
        Import `register_model_converter` and your model in your `urls.py`::
        
            from model_path_converter import register_model_converter
            from .models import MyModel
        
        Register a converter for your model::
        
            register_model_converter(MyModel)
        
        Use the new converter in your path definitions::
        
            path('<my_model:obj>/', views.my_view, name='my-view')
        
        Your view `my_view` will now receive a `MyModel` instance as argument.
        
        
        Credits
        -------
        
        This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
        
        
        =======
        History
        =======
        
        0.1.0 (2018-05-11)
        ------------------
        
        * First release on PyPI.
        
Keywords: django-model-path-converter
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Framework :: Django
