moved the versioning line out into a separate task as its this method that causes errors between different django versions