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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easy-django-mockups-0.1.1.tar.gz.
File metadata
- Download URL: easy-django-mockups-0.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a21e02accccd86671320014e784e4a79b02e13cc3ec03ec2567bf38349f2b06
|
|
| MD5 |
7c90d00f3ec7e2b1dbb8947e87ab7097
|
|
| BLAKE2b-256 |
bad3ca0e726d4c08aa27bfa254d6e59834839e04e53679640c1eab986f88517f
|
File details
Details for the file easy_django_mockups-0.1.1-py2-none-any.whl.
File metadata
- Download URL: easy_django_mockups-0.1.1-py2-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7d32810db3679343292649da1fdf2ed60ae4fbeea0e59a75aee9677c471d07
|
|
| MD5 |
c07949f6e0e3eccddab4e654c46dc1d7
|
|
| BLAKE2b-256 |
7e40a731b45bbf0d1c7fe3980fda453200465f7249b67c5966016624e871a745
|