diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2011-01-19 16:36:20 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2011-01-19 16:36:20 +0000 |
| commit | ca64a3cb2d5c1a6c5abf040ab3810acfeb829c04 (patch) | |
| tree | 4beb317e28e4106871cbf0662b33a98588d95187 | |
| parent | d140318099e60591ba3275dba841070a2006066d (diff) | |
Call superclass init in collectstatic command, otherwise printing error messages for it fails since style has not been set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/staticfiles/management/commands/collectstatic.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py index c7c98f6a39..25f683f770 100644 --- a/django/contrib/staticfiles/management/commands/collectstatic.py +++ b/django/contrib/staticfiles/management/commands/collectstatic.py @@ -33,6 +33,7 @@ class Command(NoArgsCommand): help = "Collect static files from apps and other locations in a single location." def __init__(self, *args, **kwargs): + super(NoArgsCommand, self).__init__(*args, **kwargs) self.copied_files = set() self.symlinked_files = set() self.unmodified_files = set() |
