Skip to content


Subversion checkout URL

You can clone with
Download ZIP
pinax theme based on Foundation by zurb
CSS Python
Failed to load latest commit information.
docs Updated documentation and fixed typos
pinax_theme_foundation Merge pull request #68 from ilendl2/master
.gitignore Merge branch 'master' of…
CHANGELOG.rst Corrected ommisions in the docs
LICENSE Got rid of example_project sorted out gackaging stuff
README.rst Merge branch 'master' of in… Bump version number and update docs


A Foundation Theme for Django Projects

A Pinax theme based on `Zurb Foundation`_.
Foundation is a popular CSS framework that is light weight, but includes
all the basics such as; a responsive grid, forms, dialog, navigation tabs,
buttons, typography and so on.
You can read more about the ideas behind
Foundation and how to use  it for rapid prototyping in this `article`_.

.. _Zurb Foundation:
.. _article:

* `Christopher Clarke <>`_
* `Lendl R Smith <>`_
* `Kewsi Aguillera <>`_
* `Justin Hamade <>`_

What's New
This version supports Foundation 5
- We support the latest version of Foundation (5.2.1)
- Updated the documentation
- The project now supports the  ``--template`` argument for ``
  startproject`` command
- Removed more ``Pinax 0.9`` dependencies however, the project
  should still be compatible with the other apps in  the ``Pinax``
  eco-system such as `django-user-account`_

Getting Started
Start by creating a new virtualenv for your project and install Django 1.6.2 ::

    mkvirtualenv mysite
    pip install Django==1.6.2

To use create a project based on the zero_ project run :: startproject mysite --template=

This will create a new Django project in the mysite directory with:

 - An apps folder for your internal apps
 - initial data (for handling ``sites.Site`` model)
 - Requirements files for use with pip_
 - A home for your site's static files
 - A set of templates designed to work with the foundation theme

Finally install the requirements, sync your database and
start the test server ::

    cd mysite
    pip install -r requirements.txt
    python syncdb && python runserver

The account_ starter project provides all the features of the zero project in
addition to incorporating features to support `django-user-account`_.

`django-user-account`_ is an extremely useful ``Pinax`` app that
works in conjunction with django.contrib.auth to
take your Django project from having simple log in, log out and password reset
to a full blown account management system. To create a project based on the
account starter project :: startproject --template= mysite

.. _account:
.. _zero:
.. _django-user-account:
.. _pip:

Your own templates should normally inherit from ``site_base.html``.
You should provide your own "footer" template ``_footer.html``.

Also change the Site name by editing ``fixture/initial_data.json``.
You can also use the Admin app for this purpose.

The **url** name "home" should be defined as the homepage.

Upgrading From Previous Versions
To upgrade your site start by upgrading to the latest version
on pinax-theme-foundation ::

    pip install -- upgrade pinax-theme-foundation

The big change between Foundation 2 to 3 is the grid.
In Foundation 3 you no longer have to use *.container*
to define the grid. In Foundation 2 the grid was built around
``*.container > .row > .columns*``. In Foundation 3
you now just need to use ``*.row > .columns*``.
In Foundation 3 padding and borders no longer increase
the width of an element,
they only go inward so for example in Foundation 3 ``.three.columns``
always has a width of 25% with a 15px padding on the left and right.
You can find the Foundation 3 migration guide
`here <>`_

.. end-here


See the `full documentation`_ for more details.

.. _full documentation:
.. _Pinax:

License & Attribution

The Pinax Foundation Theme theme is released under the MIT license.
This project may include templates and other code from the Pinax project

This theme includes styles and scripts from the Zurb Foundation
which is released under the MIT license

For copies of licenses, see LICENSE.
Something went wrong with that request. Please try again.