Skip to main content

Helper for testing responsive designs in Django

Project description

Turn any Django URL into a responsive container to see what your site looks like in all view ports on one page (given enough screen real estate, at least).

This builds on Matt Kersley’s awesome Responsive-Design-Helper tool, but with a Django twist.

Usage

Install via the normal means and add responsive_design_helper to the list of your INSTALLED_APPS and wire up the URLs. Make sure that this line (or one really similar if you know what you’re doing) is the first argument second argument in your patterns call:

urlpatterns = patterns('',
    ('', include('responsive_design_helper.urls')),

    # Put the rest of your URLs down here
)

With that out of the way, add responsive/ to any of the URLs on your Django site and site back and watch the magic happen.

Contributing

  • Create something awesome – make the code better, add some functionality, whatever (this is the hardest part).

  • Fork it

  • Create a topic branch to house your changes

  • Get all of your commits in the new topic branch

  • Submit a pull request

License

Copyright 2012 Texas Tribune and Travis Swicegood

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


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-design-helper-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file django-responsive-design-helper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-responsive-design-helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a0e9ae88d6b71e264d5dadf0d4119cbe34f3b624d0e78c7e99643dad2d96067
MD5 c5841ed9510ed41cc541a0f2372a9c94
BLAKE2b-256 b2e4a69c9cf32c07b98ead9df1f66df9caa0bff89cbac3e2163e3c036ec77762

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page