Skip to main content

You Can View your page in different resolution at the same page. it is beneficial for f2e developer

screenshot.png

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)),

Download files

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

Source Distribution

django-responsive-viewer-0.1.1.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django-responsive-viewer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-responsive-viewer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4b2d307754454db95b60236c3d38220341996155d13741cf6c79dc806c9ba1bf
MD5 bdb7d550c6fdbcb4f722539c01162f86
BLAKE2b-256 eb338eec8e162323a75347fd77b49762af9a69138a7d55bfac7c8195ae170e49

See more details on using hashes here.

File details

Details for the file django-responsive-viewer-0.1.1.macosx-10.10-intel.tar.gz.

File metadata

File hashes

Hashes for django-responsive-viewer-0.1.1.macosx-10.10-intel.tar.gz
Algorithm Hash digest
SHA256 66ed36068b4a255b7dcb8cdc0a35688376487d0c7dd8814dca7ff8897596979c
MD5 14b62b3010b9d33da0cad64756bc7c18
BLAKE2b-256 0933ebb49806280e384b2e4c55ce542321fcc42b9638ec93198e8c5e1303a85c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page