diff --git a/ipynbsrv/core/models.py b/ipynbsrv/core/models.py index bd959b3..ade260d 100644 --- a/ipynbsrv/core/models.py +++ b/ipynbsrv/core/models.py @@ -776,7 +776,7 @@ class ContainerImage(models.Model): max_length=75, validators=[ RegexValidator( - regex='^[A-z][\w\/]*$', + regex='^[A-z][\w\/-]*$', message='Invalid container snapshot name.' ) ]