Skip to main content

Django Zurb Foundation package.

Project description

django-zurb-foundation 4.3.2

Django Zurb Foundation 4 package.

Version of this package is equal to the version of Zurb Foundation it provides.

Usage

  • Add foundation to your INSTALLED_APPS.

  • If you want to use the provided base template, extend from foundation/base.html. If you want to write one from scratch, see the example template.

  • If you want to test if foundation works, include foundation.urls in your urls.py and visit the path. You should see the Foundation test page.

Including Zurb Foundation JS files

To include additional Zurb Foundation JS files, you can use foundation_include tag.

For example, to include abide library use:

{% foundation_include ‘abide’ %}

Depending on your static url, it will replace the previous tag with something like <script src=”/static/foundation/js/foundation/foundation.abide.js”></script>. You can see example usage in index.html template.

TODO

  • Improve default template

  • Document the default template better

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-zurb-foundation-4.3.2.tar.gz (213.1 kB view hashes)

Uploaded Source

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