From 4dee0f70bf59222ed3e4e22249db5a8e6667e57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20Ka=CC=88ser?= Date: Tue, 11 Aug 2015 21:57:35 +0200 Subject: [PATCH] fix cloning producing an invalid image name --- ipynbsrv/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.' ) ]