Skip to main content

A simple Django app to allow for quick protyping of templates without a need for a corresponding Django View.

Project description

# 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’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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easy-django-mockups, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size easy_django_mockups-0.1.1-py2-none-any.whl (6.0 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size easy-django-mockups-0.1.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page