Metadata-Version: 1.0
Name: django-ajaxify
Version: 0.0.1b
Summary: Rendering helpers for AJAX enabled views
Home-page: https://github.com/bennylope/django-ajaxify/
Author: Ben Lopatin
Author-email: ben.lopatin@wellfireinteractive.com
License: BSD License
Description: Django Ajaxify
        ==============
        
        A few little helpers.
        
        Instead of this::
        
            def view(request):
                context_dict = {'items': MyModel.objects.all()}
                return render(request, "template.html", context_dict)
        
        Use this::
        
            from ajaxify import render_ajax
        
            def view(request):
                context_dict = {'items': MyModel.objects.all()}
                return render_ajax(request, "template.html", template_fragment.html", context_dict)
        
        Now if your view is responding to AJAX requests it will respond with only the
        generated fragment.
        
Platform: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
