Navigation templatetags for django with twitter bootstrap.
Project description
# django-bootstrapnavtags
Navigation templatetags for django with twitter bootstrap.
## Installation
If you want to install the latest stable release from PyPi:
$ pip install django-bootstrap-navtags
If you want to install the latest development version from GitHub:
$ pip install -e git://github.com/noxan/django-bootstrap-navtags#egg=django-bootstrapnavtags
Add `bootstrapnavtags` to your `INSTALLED_APPS`:
INSTALLED_APPS = (
...
'bootstrapnavtags',
...
)
Enable the `django.core.context_processors.request` by adding it to your settings.
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.core.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'django.core.context_processors.request',
)
Default settings value of django for context processors can be found at: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
Navigation templatetags for django with twitter bootstrap.
## Installation
If you want to install the latest stable release from PyPi:
$ pip install django-bootstrap-navtags
If you want to install the latest development version from GitHub:
$ pip install -e git://github.com/noxan/django-bootstrap-navtags#egg=django-bootstrapnavtags
Add `bootstrapnavtags` to your `INSTALLED_APPS`:
INSTALLED_APPS = (
...
'bootstrapnavtags',
...
)
Enable the `django.core.context_processors.request` by adding it to your settings.
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.core.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'django.core.context_processors.request',
)
Default settings value of django for context processors can be found at: https://docs.djangoproject.com/en/dev/ref/settings/#template-context-processors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-bootstrap-navtags-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4463aecf70c9a6ed617f84034010b13f613fce7f5ce7989c0d6497daffbb0f47 |
|
MD5 | 1143b12d8e1d142aad1065d9d340a29a |
|
BLAKE2b-256 | 2ceae43a77c13f9546058ac374378a871e5ce679fdde3db37bce7e3d2a3a6a45 |