Reporting with Django Multi-DB Support

Posted by: barbara | Date: Oct 15, 2012 | Category: Django

The premise

I needed to build a reporting tool that reads from multiple databases, but that doesn't write to any of them. There should be only one database that's writable from this report app, and that's the default database set up when the project is created, for managing users and ...

Read More

Gaming for Education and Social Change

Posted by: barbara | Date: Oct 13, 2012 | Category: CS Education

I've recently experienced a personal loss that resulted in my moving from Portland to Los Angeles, but just before I left, I had the privilege of seeing Dr. Jane McGonigal speak at Concordia University. The lecture, presented on Thursday, September 20, was titled 'The ...

Read More

DjangoCon 2012 Videos

Posted by: barbara | Date: Oct 09, 2012 | Category: Django DjangoCon Python


Read More

Open Source Contributions Come In All Shapes And Sizes

Posted by: barbara | Date: Oct 08, 2012 | Category: Django Python

Listen: Billy Pilgrim has come unstuck in time.

Okay, that has nothing to do with the subject of this post, but when I tweeted out a request for suggestions for an opening line, that was the most interesting response (thank you, @kantrn). I got others that were a lot ...

Read More

Problem Solved: Using PIL with ImageMagick

Posted by: barbara | Date: Sep 28, 2012 | Category: Python

I was tasked with a fairly simple project:

  • Traverse a directory with several hundred subdirectories, each containing up to half a dozen images of different sizes
  • If a directory already contained an image where [-8:] == "_175.jpg", just delete the entire directory, it was not needed
  • If the directory ...

    Read More