Michal Čihař - Blog Archives for Django

New blog engine

I was quite unhappy with nanoblogger which I was using for quite some time on this blog. Not that it is bad, but it really scales bad. Having more than 600 of blog posts is something which it really has troubles to handle.

So I decided to go somewhere else. After looking and testing some ready solutions, I rather decided to implement my own engine using Django. The implementation took exactly one evening including script to migrate old posts, so it was really an easy task. As a bonus I get quite easily reusable components once I decide to change my main website to Django as well.

Also while doing this change, I changed the look quite a lot, hopefully this one is easier to navigate and it did not lose any of old functionality.

Hrátky s Django

Tak dnes jsem se konečně dostal k tomu vyzkoušet framework Django . Když jsem ho před pár měsíci objevil, tak se mi moc zalíbil a v todo listu mi přibylo jeho vyzkoušení.

Protože (zatím) není v Debianu, tak jsem jen stáhnul zdrojáky, rozbalil v /tmp a postupoval podle tutoriálu. Pozitivní byla možnost použít sqlite, takže jsem si nezaneřádil normálně používanou databázi.

Všechno fungovalo až překvapivě dobře vytvoření testovacího webu bylo nečekaně snadné. Asi jsem konečně našel něco, čím budu ochotný nahradit statické stránky :-).