Package: pinax-theme-bootstrap
PinaxPinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates.
This collection can be found athttp://pinaxproject.com.pinax-theme-bootstrappinax-theme-bootstrapis a theme for Pinax based on the open source Bootstrap front-end framework and
the Font Awesome icon library.Getting StartedIncludepinax-theme-bootstrapin your requirements file and includepinax_theme_bootstrapandbootstrapform(which is installed alongside
this theme) in yourINSTALLED APPS.Adddjango.core.context_processors.requestandpinax_theme_bootstrap.context_processors.themeto yourTEMPLATE_CONTEXT_PROCESSORSto ensure the user selector and site name work correctly.Make sure both template loaders and staticfiles finders includes
app directories.Site name comes from Sites fixture.Yoursite_base.htmlshould extendtheme_bootstrap/base.htmland should providefooterandnavblocks (the latter should just be a ul of li of a links).Your pages should have blockshead_titleandbodyand should extendsite_base.html.The url namehomeshould be defined as the homepage.DependenciesBootstrapFont AwesomejQueryWe previously vendored these packages and had an undocumented build process
pre-configured in our starter projects that use this theme. This has gone the
way of the 80s hair band and we are now using proper packaging in the starter
projects.The templates in this project are currently tested with the following versions:Bootstrap 3.3.5Font Awesome 4.4.0jQuery 2.1.4If you are not using one of our starter projects, you will need to go about
setting up a build environment to use these libraries. We recommend usingwebpackand installing these libraries withnpm.Upgrade NotesUpgrading to 6.0, you should be aware of a few changes:style_baseandextra_styleblocks have been merged intostylesscript_baseandextra_scriptblocks have been merged intoscriptsand
thetheme.jsscript is now loaded within atheme_scriptblock after thescriptsblock. It now expects that you’ll load the necessaryjQuerylibrary at the project level in thescriptsblock.No vendored assets ship with the theme anymore. You are responsible for
setting up your own static assets at the project level. We have made it easy
by just using one of our starter projects.DocumentationThepinax-theme-bootstrapdocumentation is currently under construction. If you would like to help us write documentation, please join our Slack team and let us know! The Pinax documentation is available athttp://pinaxproject.com/pinax/.ContributeSee this blog posthttp://blog.pinaxproject.com/2016/02/26/recap-february-pinax-hangout/including a video, or our How to Contribute (http://pinaxproject.com/pinax/how_to_contribute/) section for an overview on how contributing to Pinax works. For concrete contribution ideas, please see our Ways to Contribute/What We Need Help With (http://pinaxproject.com/pinax/ways_to_contribute/) section.In case of any questions we recommend you join our Pinax Slack team (http://slack.pinaxproject.com) and ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.We also highly recommend reading our Open Source and Self-Care blog post (http://blog.pinaxproject.com/2016/01/19/open-source-and-self-care/).LicenseThe Pinax Bootstrap theme is released under the MIT license.Code of ConductIn order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found herehttp://pinaxproject.com/pinax/code_of_conduct/.
We ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.Pinax Project Blog and TwitterFor updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our bloghttp://blog.pinaxproject.com.