From f46c4140ce3bce1d591699b81a5e9577204ce762 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 12 Feb 2012 14:49:42 +0000 Subject: [PATCH] Fixed #17656 -- Stopped the collectstatic management command from running the database validation. Thanks, jcspray. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17514 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/staticfiles/management/commands/collectstatic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py index 18f889374b..70f97304b8 100644 --- a/django/contrib/staticfiles/management/commands/collectstatic.py +++ b/django/contrib/staticfiles/management/commands/collectstatic.py @@ -43,6 +43,7 @@ class Command(NoArgsCommand): "'.*' and '*~'."), ) help = "Collect static files in a single location." + requires_model_validation = False def __init__(self, *args, **kwargs): super(NoArgsCommand, self).__init__(*args, **kwargs)