diff options
author | 2021-08-30 22:53:52 +0200 | |
---|---|---|
committer | 2021-08-30 23:21:01 +0200 | |
commit | aa00efc6048c4bca46acabe18ee6d1b08f52e0e5 (patch) | |
tree | 0a926f2c852cfee962a92d908aba785ddb3db366 /pydis_site/apps/api/models | |
parent | Merge pull request #568 from python-discord/jb3/collectstatic-build (diff) |
Allow empty value for inventory url field
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/documentation_link.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/documentation_link.py b/pydis_site/apps/api/models/bot/documentation_link.py index 3dcc71fc..9941907c 100644 --- a/pydis_site/apps/api/models/bot/documentation_link.py +++ b/pydis_site/apps/api/models/bot/documentation_link.py @@ -30,6 +30,7 @@ class DocumentationLink(ModelReprMixin, models.Model): "The base URL from which documentation will be available for this project. " "Used to generate links to various symbols within this package." ), + blank=True, validators=(ends_with_slash_validator,) ) inventory_url = models.URLField( |