Skip to main content

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 sit 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.

Metadata

Release files for django-responsive-design-helper 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-responsive-design-helper 0.2.0
File Size Uploaded
django-responsive-design-helper-0.2.0.tar.gz 8.8 kB Details

Release files / django-responsive-design-helper-0.2.0.tar.gz

Download URL django-responsive-design-helper-0.2.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4cc8336e594ec933c989cefa4c273d9288d0f88949ac4b2b7b3878345fb436f
BLAKE2b-256 checksum
How to use checksums
27b221f13eb42ab0d1af1959593b679693c44dcfd94813d1aa7f591e427f6c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page