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
This commit is contained in:
parent
d140318099
commit
ca64a3cb2d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue