diff options
author | 2021-09-05 07:43:44 -0400 | |
---|---|---|
committer | 2021-09-05 07:43:44 -0400 | |
commit | 12c09e08ca50a271372adeaf0cb21d6c4ca9ccea (patch) | |
tree | 1ac76fddbc476001133aac2f55e414269de47744 /pydis_site/apps/api/models | |
parent | Add `tutorial` and `video` tags for RealPython. (diff) | |
parent | Merge pull request #581 from python-discord/Pin-platform-in-Dockerfile (diff) |
Merge with main, resolve conflicts.
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( |