A simple Django that will show differenct resolution of your page
Project description
You Can View your page in different resolution at the same page. it is beneficial for f2e developer
Installation
pip install django-responsive-viewer
Quick start
Add “django_responsive_viewer” in your INSTALLED_APP
INSTALLED_APPS = (
'django_responsive_viewer',
)
set up which url you want to show in responsive viewr
RESPONSIVE_SPECS = (
[320, 568], # iPhone
[568, 320], # iPhone
[768, 1024], # iPad landscape
[1024, 768], # iPad
[1366, 768/2], # notebook
)
RESPONSIVE_VIEWER = [
'/direct_render/sidebar.html', # this is the url you want to view
]
of course, you need to setup url
import django_responsive_viewer.urls
url(r'^responsive_viewer/', include(django_responsive_viewer.urls)),
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
Close
Hashes for django-responsive-viewer-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b2d307754454db95b60236c3d38220341996155d13741cf6c79dc806c9ba1bf |
|
MD5 | bdb7d550c6fdbcb4f722539c01162f86 |
|
BLAKE2b-256 | eb338eec8e162323a75347fd77b49762af9a69138a7d55bfac7c8195ae170e49 |
Close
Hashes for django-responsive-viewer-0.1.1.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66ed36068b4a255b7dcb8cdc0a35688376487d0c7dd8814dca7ff8897596979c |
|
MD5 | 14b62b3010b9d33da0cad64756bc7c18 |
|
BLAKE2b-256 | 0933ebb49806280e384b2e4c55ce542321fcc42b9638ec93198e8c5e1303a85c |