'Look up project default version, return None if not found'

def get_default_version(self):

    default_version = self.project.get_default_version()
    try:
        return self.get_version_queryset().get(slug=default_version)
    except Version.DoesNotExist:
        return None
