Skip to main content

a theme for Pinax based on Bootstrap

Project description

A theme for Pinax based on the open source Bootstrap front-end framework.

Versions

  • Bootstrap v3.1.1

  • Font Awesome v4.1.0

Quick Start

Include “pinax-theme-bootstrap” in your requirements file and include “pinax_theme_bootstrap” and “bootstrapform” (which is installed alongside this theme) in your INSTALLED APPS.

Make sure both template loaders and staticfiles finders includes app directories.

Site name comes from Sites fixture.

Your “site_base.html” should extend “theme_bootstrap/base.html” and should provide “footer” and “nav” blocks (the latter should just be a ul of li of a links).

Your pages should have blocks “head_title” and “body” and should extend “site_base.html”.

The url name “home” should be defined as the homepage.

Upgrade Notes

  • To upgrade an existing site running on the prior version of this theme, it is recommended that you read through the official migration guide.

  • Forms Rendering: Versions prior to 4.0 used django-forms-bootstrap. We have switched this app to django-bootstrap-form so you’ll need to make the necessary updates to your templates and INSTALLED_APPS.

Requirements

This theme is officially supported when used in conjunction with Pinax starter projects. If using the theme with Django < 1.4, you will need to install a recent version of django-staticfiles as we use the {% render %} template tag.

Pagination

This theme supports both django-pagination and Django builtin pagination. See PaginationTemplate for information how to switch between them.

Roadmap

The 2.x line of pinax-theme-bootstrap with support for Pinax 0.9 will soon be phased out of major updates. We will be releasing a 3.x line that will break backwards compatibility but fully support Pinax 1.0 projects. This is a change towards a more semantic versioning strategy in lieu of merely indicating which version of Bootstrap media is included. The 4.x line now supports Bootstrap 3.0, while the 3.x line supports Bootstrap 2.x.

License & Attribution

The Pinax Bootstrap theme is released under the MIT license.

This theme includes styles and scripts from the Bootstrap project, which is (since v3.1.0) released under the MIT license.

For copies of both licenses, see LICENSE.

Includes icons from Glyphicons Free, licensed under CC BY 3.0.

Includes icons from Font Awesome.

Project details


Release history Release notifications | RSS feed

This version

5.4.0

Download files

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

Source Distribution

pinax-theme-bootstrap-5.4.0.tar.gz (739.7 kB view details)

Uploaded Source

File details

Details for the file pinax-theme-bootstrap-5.4.0.tar.gz.

File metadata

File hashes

Hashes for pinax-theme-bootstrap-5.4.0.tar.gz
Algorithm Hash digest
SHA256 3164e788ab4b2a128c82269bc430ca4e22042dd9a7446d473657928d253dd2ef
MD5 f7c42cf3463da1ea8fcf4688d8834198
BLAKE2b-256 2f5596cb5793b3f90c795ecc1e9a1ccfce13ed6f7591a671a69c513dbfddd0ec

See more details on using hashes here.

Supported by

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