'Ensure we\'re using a sane version'

@staticmethod
def get_version(project, version_pk):

    if version_pk:
        version_data = api_v1.version(version_pk).get()
    else:
        version_data = api_v1.version(project.slug).get(slug=LATEST)['objects'][0]
    return make_api_version(version_data)
