Commit 9b060616 authored by sebastien letort's avatar sebastien letort

meilleur message d'erreur.

parent 1b203e93
......@@ -231,7 +231,7 @@ class Webapp(TimeStampModel):
sandbox_state = models.IntegerField(null=True, choices=SANDBOX_STATE_CHOICES, default=IDLE)
sandbox_version = models.ForeignKey('WebappVersion', null=True, blank=True,
related_name='webappversions')
nb_url_validator = URLValidator(schemes=['https'], message="Only https url are allowed.")
nb_url_validator = URLValidator(schemes=['https'], message="Only https url are allowed as notebook url.")
notebook_gitrepo = models.URLField(max_length=255, blank=True, null=True,
validators=[nb_url_validator])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment