pythondjangozinnia

Getting started with the Django Zinnia Platform


Here's some easy karma for somebody. I just completed the django introductory tutorial with the intent of applying it to the Zinnia blogging platform. I have it serving up just fine, but would like to customize zinnia and am not sure how to do it. Actually that's a lie, I sort of know, but I have no idea what that link is actually doing.

Since completing the tutorial I am accustomed to a nice folder in my djo project housing poll apps, customizable url/models/settings/templates in this poll directory, and so forth. But zinnia has none of this, or is storing all of these things in an obscure directory:

/usr/local/lib/python2.7/dist-packages/django_blog_zinnia-0.12.3-py2.7.egg/zinnia

Can someone explain to me what is going on, and how I can learn to customize the zinnia platform?

Say I wanted to change the background, title, static content, models, or url file for zinnia. How!?! Does one change any of these files directly, or do you copy the lot (there's way more than /templates/ in here) to a django project folder (i.e., maybe /djo/zinnia/template would work?)? What would happen if I copied something other than the template directory into my djo/zinnia/ folder; would this override the /usr files (contents below)?

admin/                  fixtures/     managers.py*   ping.pyc      sitemaps.py*   testsettings.py*
comparison.py*          flags.py*     managers.pyc   search.py*    sitemaps.pyc   testsettings.pyc
comparison.pyc          flags.pyc     migrations/    search.pyc    spam_checker/  urls/
context_processors.py*  __init__.py*  models/        settings.py*  static/        url_shortener/
context_processors.pyc  __init__.pyc  moderator.py*  settings.pyc  templates/     views/
feeds.py*               locale/       moderator.pyc  signals.py*   templatetags/  xmlrpc/
feeds.pyc               management/   ping.py*       signals.pyc   tests/

Solution

  • I found the answer to this in the documentation here: http://docs.django-blog-zinnia.com/en/latest/how-to/customize_look_and_feel.html#compass-and-sass