Because I didn't want to use Wordpress

Because I didn't want to use Wordpress

Published April 30, 2015 in Development - Last update on July 6, 2015.

It's done, I've launched my weblog or more a brain archives.

Because I don't want to use Wordpress and I'm a Django developer, my first choice has been Zinnia: a weblog CMS powered by Django. So the first post will be simply about it.

So what's Zinnia

Django Blog Zinnia is a Django application for manage weblogs, its author, Fantomas42, describes it as following:

Simple yet powerful and really extendable application for managing a blog within your Django Web site.

Zinnia has been made for publishing Weblog entries and designed to do it well.

Basically any feature that can be provided by another reusable app has been left out. Why should we re-implement something that is already done and reviewed by others and tested?

Make a fresh install

Zinnia is designed like a reusable app, so you must configure in an existing project. Let's create a new one:

pip install django-blog-zinnia
pip install Pillow startproject myblog 

Now set your project settings with following things:

SITE_ID = 1 # or whatever


    'django.contrib.sites', # Do not forget sites
    'django.contrib.admin', # Neither admin

And update yours urls file with Zinnia's views:

urlpatterns = patterns(
    url(r'^blog/', include('zinnia.urls', namespace='zinnia')),
    url(r'^comments/', include('django_comments.urls')),

 Now migrate your database for install Zinnia tables:

./ migrate
./ createsuperuser

Quick overview

Now you can launch your server: ./ runserver

For those which don't want to touch their keyboard, you can visualize a demo here (credentials: demo/demo), Do not hesitate to look at the admin interface. Zinnia is globaly a public web interface and uses Django Admin Site as CMS.

Ow... It's ugly

I think, like me, you think: "I will never wear a shirt with this style". No problem, as a Django app Zinnia is fully customisable. I personally began by use Zinnia-theme-foundation, which have a quick install.

Instead of install, I use it as base skeleton for my weblog. For make it, I downloaded source and incude into a custom app:

./ startapp myapp
git clone /tmp/zinnia-theme-foundation --depth=1
cp -r /tmp/zinnia-theme-foundation/zinnia_foundation/static/ myapp/
cp -r /tmp/zinnia-theme-foundation/zinnia_foundation/templates/ myapp/

Add myapp at beginning of your INSTALLED_APPS for use it as first template and static loader.

./ runserver # again

Ah yeah, now we've got a good shirt ! 

I should maybe git it

Because all this blog uses opensource tools, I decided to share it on Github: Here. Download it with: git clone

I'll try to make this blog 100% OpenSource, with all aspect detailled: Application, architecture, system configuration, etc ...


I change theme again.

Helps, links and more


Post your comment

Comment as . Log out.