From 7df6450fae3cb58213ed12be670afb2263d79b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Wed, 10 Feb 2016 16:24:07 +0100 Subject: [PATCH] Fix sample_data command --- taiga/projects/management/commands/sample_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/projects/management/commands/sample_data.py b/taiga/projects/management/commands/sample_data.py index 02d6ad54..4415313a 100644 --- a/taiga/projects/management/commands/sample_data.py +++ b/taiga/projects/management/commands/sample_data.py @@ -285,7 +285,7 @@ class Command(BaseCommand): return self.sd.paragraphs(2, 4) if type == DATE_TYPE: return self.sd.future_date(min_distance=0, max_distance=365) - if type == DATE_URL: + if type == URL_TYPE: return self.sd.choice(URL_CHOICES) return None