Set up django and db connection