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)
|
||||
body = RichTextField()
|
||||
project_url = models.URLField(blank=True)
|
||||
download_url = models.URLField(blank=True)
|
||||
project_url = models.URLField(validators=[validate_url], blank=True)
|
||||
download_url = models.URLField(validators=[validate_url], blank=True)
|
||||
asset = models.ForeignKey(
|
||||
'wagtaildocs.Document',
|
||||
null=True,
|
||||
|
|
Reference in a new issue