def get_current_site(request):
    if Site._meta.installed:
        current_site = Site.objects.get_current()
    else:
        current_site = RequestSite(request)
    return current_site
updateVersion(versionNumber: int) -> None
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/sites/models.py/get_current_site--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/version_prop.py/QVersionProp.updateVersion