Threepress Consulting blog

Threepress creates software for publishers, educators and authors.

Tag: django

On IBM Developerworks: Doing More with the Django Admin

The second of two articles I wrote for IBM Developerworks: Doing More with the Django Admin (the first was Better Django Models).

The “Admin” is the administrative console that’s built into the Django application. It provides an easy way to administer content on any Django site. For developers who are tired of writing the [...]

On IBM Developerworks: Better Django Models

The first of two articles I wrote about the Python web framework Django has been published by IBM Developerworks: Better Django Models.

Neither one is publishing-specific, but Django (like Rails and Drupal) is a great way to deploy a web application quickly and easily. (Bookworm runs on Django, as do many of my smaller projects.)

Django/MySQL database backup script

I’m sure everyone has one of these lying around, but here’s mine in case you are as lazy a programmer as I usually am.  The only thing Django-specific about it is that it reads your database configuration directly out of your settings file.
If you run this via cron it will automatically create its backup directory [...]