Attempting to link up the django api to the database