It's totally dumb, but I didn't know how else to pass these things around.

I could turn it into a django command like I did dennis, but I still need to do the svn up which then gets difficult to debug if things go awry because you have environments in environments in environments. Still, maybe that's the best solution here. A django command would know where everything is.