Fixes a spelling error in the message
This commit is contained in:
@@ -19,7 +19,7 @@ def uri_validator(value) -> None:
|
|||||||
)
|
)
|
||||||
elif not parts.netloc and not parts.path:
|
elif not parts.netloc and not parts.path:
|
||||||
raise ValidationError(
|
raise ValidationError(
|
||||||
_(f"Unable to parse URI {value}, missing net loction or path"),
|
_(f"Unable to parse URI {value}, missing net location or path"),
|
||||||
params={"value": value},
|
params={"value": value},
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user