Monthly Archives: September 2009

Custom tags for node links in Drupal 6

In this post I’m going to try and explain how to add custom tags that link to node pages to a Drupal 6 input format. That probably sounds a bit far-fetched, so I’ll attempt to clarify by using my own project as an example.
last.fm has this nifty feature where you can write [artist]Meshuggah[/artist] and it’ll [...]

Fixing lousy introspection support in Python DB APIs (partially)

For my internship at Think Wize, I’ve been working on a custom Django management command that compares the current model definitions (models.py) and the current database schema, and tries to spot the differences. I’ve called it checkdb. Optionally it can also attempt to fix them, with checkdb –fix.
syncdb is not agile
Django’s syncdb management command, used [...]