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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for easy-django-mockups-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a21e02accccd86671320014e784e4a79b02e13cc3ec03ec2567bf38349f2b06 |
|
MD5 | 7c90d00f3ec7e2b1dbb8947e87ab7097 |
|
BLAKE2b-256 | bad3ca0e726d4c08aa27bfa254d6e59834839e04e53679640c1eab986f88517f |
Hashes for easy_django_mockups-0.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7d32810db3679343292649da1fdf2ed60ae4fbeea0e59a75aee9677c471d07 |
|
MD5 | c07949f6e0e3eccddab4e654c46dc1d7 |
|
BLAKE2b-256 | 7e40a731b45bbf0d1c7fe3980fda453200465f7249b67c5966016624e871a745 |