The November Blog-A-Thon

Posted by: barbara | Date: Nov 02, 2009 | Category: November Post-A-Day

Clearly, I'm already a day behind on the whole "blog every day in November" thing. But since I haven't actually posted in ... almost a year (not since the last PyCon, in fact), I still consider this a step in the right direction.

The thing is, to blog about ...

Read More

Working with the Django admin and legacy databases, pt.3

Posted by: barbara | Date: May 01, 2009 | Category: Django

Part 1 | Part 2

After you've run inspectdb and done all your syncing and basic admin setup, take a peek at the models you generated - depending on the state of your legacy db, you've probably wound up with something that looks like this (column names have ...

Read More

Working with the Django admin and legacy databases, pt.2

Posted by: barbara | Date: Apr 26, 2009 | Category: Django

By this time, I'm several weeks into the project and it's time to get you all caught up - let's see if I can break this down into digestable bites.

(Btw, don't expect it to you take this long - this isn't an officially sanctioned work project for me, so ...

Read More

Generating seed data for PHPUnit tests

Posted by: barbara | Date: Apr 16, 2009 | Category: Python
I'm working on a pretty massive test harness for a custom framework extension - I won't bore anyone with the details, but I'm using PHPUnit, and for our particular implementation I needed to generate large numbers of XML files to seed a test database with about 80 tables. Two things ...

Read More

Working with the Django admin and legacy databases, pt.1

Posted by: barbara | Date: Apr 16, 2009 | Category: Django

This is most likely going to be at least a three-parter, and I'm not getting into any code samples in this first one. I just wanted to give some background into the project I'm working on, so feel free to skip ahead.

As of this writing, I'm working at a ...

Read More