Metadata-Version: 2.1
Name: django-nested-modals
Version: 0.0.7
Summary: Django app to implement Bootstrap nested modals
Home-page: https://github.com/jonesim/django-modals
Author: Ian Jones
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: django-ajax-helpers
Requires-Dist: django-crispy-forms

[![PyPI version](https://badge.fury.io/py/django-nested-modals.svg)](https://badge.fury.io/py/django-nested-modals)

Add to installed apps in settings   
`'bootstrap_modals',`


Add to template

    <script src="{% static 'django_modals/js/modals.js' %}"></script>
    <link rel="stylesheet" type="text/css" href="{% static 'django_modals/css/modals.css' %}"/>

####See django_examples for example usage


Types of redirect

Existing modal sends ajax command 

    return self.command_response(ajax_modal_replace(self.request, 'modal_name'))

Redirecting from get

    return



