django_gcp/storage/settings.py
def check(self):
        """Check the settings on this object"""
        if self.location.startswith("/"):
            correct = self.location.lstrip("/\\")
            raise ImproperlyConfigured(
                f"'location' option in GCP_STORAGE_ cannot begin with a leading slash. Found '{self.location}'. Use '{correct}' instead."
            )
Check the settings on this object
Check the settings on this object
Check the settings on this object
def check(self):
        if self.location.startswith("/"):
            correct = self.location.lstrip("/\\")
            raise ImproperlyConfigured(
                f"'location' option in GCP_STORAGE_ cannot begin with a leading slash. Found '{self.location}'. Use '{correct}' instead."
            )
def check ( self ) : if self . location . startswith ( "/" ) : correct = self . location . lstrip ( "/\\" ) raise ImproperlyConfigured ( f"'location' option in GCP_STORAGE_ cannot begin with a leading slash. Found '{self.location}'. Use '{correct}' instead." )
Check the settings on this object
Check the settings on this object
"""Check the settings on this object"""
self