This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

  1. Add “django_responsive_viewer” in your INSTALLED_APP
INSTALLED_APPS = (
    'django_responsive_viewer',
)
  1. 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
]
  1. of course, you need to setup url
import django_responsive_viewer.urls
url(r'^responsive_viewer/', include(django_responsive_viewer.urls)),
Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-responsive-viewer-0.1.1.macosx-10.10-intel.tar.gz (37.0 kB) Copy SHA256 Checksum SHA256 any Dumb Binary May 19, 2015
django-responsive-viewer-0.1.1.tar.gz (37.3 kB) Copy SHA256 Checksum SHA256 Source May 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting