Archive for the Projects Category

(Disclaimer: I was approached by the publisher of the book and I received it at no cost).

This is a short review for the book "Django 1.0 Template Development" by Scott Newman, this book can be found at the publisher’s page or in Amazon for example.

The book was released by Packt Publishing on December 11, 2008 and its ISBN-10/ ISBN-13 are 1847195709 and 978-1847195708. There’s also an electronic (eBook) version available.

In summary this book is a great addition to anyone who has to work with Django’s template system.

The book is aimed at web developers and template authors and although previous knowledge of Django’s templates is not required, the reader should be familiar with the basic workings of Django. The skill level spans from beginner to intermediate, so if you are looking for particulars about an advanced topic I suggest you look at this book’s table of contents to see if it’s covered. I’m not aware of any other book dedicated exclusively to Django’s templates.

This book is pretty updated; the latest version of Django at the time of this writing is 1.1, and it was released recently (July 29, 2009) and according to the release notes there are only a couple of minor improvements that affect the templates and they are all backwards-compatible.

The writing style is clear and easy to follow. Also the visual aspect of the book (page layout, fonts, using warnings and tips boxes etc) is pleasant.

I like that throughout the book they use one particular example or “demo application” and also the code for it can be downloaded from the publisher’s web site.

Regarding the contents, chapters one and two are an introduction to templates and Django’s model, similar to the tutorial in the Django’s web site. It’s good that the basics of how the main elements of Django (models, URLs, views) are reviewed so we don’t have to jump to another reference and we get a refresher of some basic ideas.

Chapter 3 deals with the Template Context. Chapter 4 is a reference for the built-in template tags and filters, ordered alphabetically. This is a long chapter but if you are working a lot with Django’s templates this reference could by itself justify purchasing the book, since here you get explanations and examples while in the Django’s web site documentation you just get a brief description.

In the next three chapters we get some intermediate template usage like inheritance or custom tags and filters. Finally, there are also a few topics that are more advanced and they are explained with examples: pagination, customizing the admin templates, caching and internationalization.

Ubuntu Security Levels

The purpose of this new project I started is to have a security level management tool similar to Mandriva's msec.

Ubuntu page: Ubuntu Security Levels. Everybody is welcome to join.

The idea is to harden (and monitor/log) the security of Ubuntu by having well-known states or levels that are easy to understand and manage by users and sysadmins.


  • Easy, like in Mandriva, by typing just "msec 3" we go to a level deemed appropriate for desktops connected to the Internet. No need to go through screens answering difficult questions like with Bastille Linux.

  • System administrators will be aware that the systems are in a particular well-known configuration regarding basic aspects of security ("this web server is level 4, that critical server is level 5"). The caveat of course is to have a false sense of security.

  • The proposed difference in philosophy with Mandriva's msec is that the users won't be able to customize (at least easily) the directives for the levels; the simpler the better

Ubuntu Security Toolkit LiveCD

There are several Linux Live CDs that are specialized in network security tools like:

L.A.S.
Trinux
PHLAK
Knoppix STD

I like Knoppix STD; it's a very complete infosec toolkit. (First time users: remember to right-click with the mouse once you're on the desktop).

I've been getting involved in Ubuntu and a project I just started is the Ubuntu Security LiveCD, an Ubuntu LiveCD remastered with many security tools.

The security live CD I put together works pretty well and I intend to publish the iso file once I polish it a little more.