restore validators
This commit is contained in:
parent
5d99514c7d
commit
3b495783b5
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ class ProjectPage(Entity):
|
||||||
)
|
)
|
||||||
summary = models.CharField(max_length=500)
|
summary = models.CharField(max_length=500)
|
||||||
body = RichTextField()
|
body = RichTextField()
|
||||||
project_url = models.URLField(blank=True)
|
project_url = models.URLField(validators=[validate_url], blank=True)
|
||||||
download_url = models.URLField(blank=True)
|
download_url = models.URLField(validators=[validate_url], blank=True)
|
||||||
asset = models.ForeignKey(
|
asset = models.ForeignKey(
|
||||||
'wagtaildocs.Document',
|
'wagtaildocs.Document',
|
||||||
null=True,
|
null=True,
|
||||||
|
|
Reference in a new issue