Skip to content

Instantly share code, notes, and snippets.

@champs
Created August 6, 2012 05:56
Show Gist options
  • Save champs/3271166 to your computer and use it in GitHub Desktop.
Save champs/3271166 to your computer and use it in GitHub Desktop.
Setup Zinnia django blog enine
## required
pip install django-tagging
pip install PIL
pip install beautifulsoup
pip install django-blog-zinnia
pip install django-mptt
## In settings.py add
INSTALLED_APPS += (
'tagging',
'mptt',
'zinnia',
)
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.request',
"django.contrib.messages.context_processors.messages")
## In urls.py add
urlpatterns += patterns('',
url(r'^weblog/', include('zinnia.urls')),
)
## run syncdb
python manage.py syncdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment