Posts for March 2010

Mar 11

How to run sql on a Django test database before syncdb

This was a challenge that have waited for me for some time. I finally got the time to figure out how run your custom SQL on a test database before django create the tables for all your apps. This is not an quick and easy solution as I needed to dig through a lot of Django's db code. But it does get the job done.

About

Jakob Torp Svendsen is my name, but on the web you can usually find me by the name of googletorp. I spend most of my time coding, either making web-apps or web sites. The tools I usually use is either Django or Drupal, depending on the project at hand.

I have a background in chemistry and at one point I saw myself becoming a scientist, but today I'm happy I didn't go down that road, but instead became a web developer, currently working at danish company, Reveal IT.

Subscribe

Elsewhere

Categories

Recent Posts

Archive

BlogRoll

Popular Posts