Used django method for create a db connection.