the destination
location as specified in your settings.
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/home/maskim/.local/lib/python3.5/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/maskim/.local/lib/python3.5/site-packages/django/core/management/__init__.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/maskim/.local/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/maskim/.local/lib/python3.5/site-packages/django/core/management/base.py", line 335, in execute
output = self.handle(*args, **options)
File "/home/maskim/.local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 189, in handle
collected = self.collect()
File "/home/maskim/.local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 114, in collect
handler(path, prefixed_path, storage)
File "/home/maskim/.local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 344, in copy_file
if not self.delete_file(path, prefixed_path, source_storage):
File "/home/maskim/.local/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 250, in delete_file
if self.storage.exists(prefixed_path):
File "/home/maskim/.local/lib/python3.5/site-packages/django/core/files/storage.py", line 308, in exists
return os.path.exists(self.path(name))
File "/home/maskim/.local/lib/python3.5/site-packages/django/contrib/staticfiles/storage.py", line 43, in path
raise ImproperlyConfigured("You're using the staticfiles app "
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
верни указание директории для static_root и перенеси свою папку в одно из приложений, папка не должна валяться в корне проекта а должа лежать в одном из приложений https://puu.sh/A2djE.png
Обсуждают сегодня