(self, site_code)
return SQLLocation.objects.using(DEFAULT_DB_ALIAS).get(
            domain=self.domain,
            site_code__iexact=site_code
        )
Note that this can raise SQLLocation.DoesNotExist if the location with the
        given site code is not found.
Note that this can raise SQLLocation.DoesNotExist if the location with the
        given site code is not found.
Note that this can raise SQLLocation . DoesNotExist if the location with the given site code is not found .
def lookup(self, site_code):
        """
        Note that this can raise SQLLocation.DoesNotExist if the location with the
        given site code is not found.
        """
        return SQLLocation.objects.using(DEFAULT_DB_ALIAS).get(
            domain=self.domain,
            site_code__iexact=site_code
        )
def lookup ( self , site_code ) : return SQLLocation . objects . using ( DEFAULT_DB_ALIAS ) . get ( domain = self . domain , site_code__iexact = site_code )