Metadata-Version: 2.1
Name: easy-django-mockups
Version: 0.1.1
Summary: A simple Django app to allow for quick protyping of templates without a need for a corresponding Django View.
Home-page: https://www.example.com/
Author: Industry Dive
Author-email: tech.team@industrydive.com
License: BSD License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

# easy_django_mockups
A library to allow for easy mockups using the power of Django templates


To Install
==========
``pip install easy-django-mockups``

Then add the new module to your INSTALLED_APPS settings, and add 

``url(r'^', include('easymockups'))``

to your root-level urls.py's urlpatterns.

From there, you'll need to create a 'mockups' directory inside any 'templates' directory you normally save your django templates to. Any template you put into that mockups directory can be accessed directoy via the url path /mockups/[templatename].html, where [templatename] is the name of the file you just created. You can also add a JSON file that follows the same naming pattern and the template should include the json objects as primitive mock django models.




