bananas/admin/api/versioning.py
def get_versioned_viewname(self, viewname, request):
        """
        Prefix viewname with full namespace bananas:vX.Y:
        """
        namespace = request.resolver_match.namespace
        if namespace:
            viewname = "{}:{}".format(namespace, viewname)

        return viewname
def get_versioned_viewname(self, viewname, request):
        """
        Prefix viewname with full namespace bananas:vX.Y:
        """
        namespace = request.resolver_match.namespace
        if namespace:
            viewname = "{}:{}".format(namespace, viewname)

        return viewname
def get_versioned_viewname ( self , viewname , request ) : namespace = request . resolver_match . namespace if namespace : viewname = "{}:{}" . format ( namespace , viewname ) return viewname
Prefix viewname with full namespace bananas:vX.Y:
Prefix viewname with full namespace bananas : vX . Y :