Created
August 6, 2012 05:56
-
-
Save champs/3271166 to your computer and use it in GitHub Desktop.
Setup Zinnia django blog enine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## required | |
pip install django-tagging | |
pip install PIL | |
pip install beautifulsoup | |
pip install django-blog-zinnia | |
pip install django-mptt | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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