AndrejusОшибку понял, о чем и дописал минутой позднее. Вот так выглядит ссылка на css в исходном html коде шаблона:
у вас в каком пакете лежит mainapp?

Но проблема с подключением статики осталась(
BandicootAndrejusОшибку понял, о чем и дописал минутой позднее. Вот так выглядит ссылка на css в исходном html коде шаблона:
у вас в каком пакете лежит mainapp?
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/servers/basehttp.py", line 283, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 69, in __call__ return super(StaticFilesHandler, self).__call__(environ, start_response) File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 272, in __call__ response = self.get_response(request) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 59, in get_response return self.serve(request) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 52, in serve return serve(request, self.file_path(request.path), insecure=True) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/views.py", line 35, in serve absolute_path = finders.find(normalized_path) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 228, in find for finder in get_finders(): File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 242, in get_finders yield get_finder(finder_path) File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 124, in wrapper result = func(*args) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 263, in _get_finder return Finder() File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 61, in __init__ "The STATICFILES_DIRS setting should " ImproperlyConfigured: The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting
Bandicoot
О, уже что-то новенькое) При переходе по ссылке http://localhost:8000/static/css/style.css получается вот такой лог ошибок:Насколько я понял, косяки в settings.pyTraceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/servers/basehttp.py", line 283, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 69, in __call__ return super(StaticFilesHandler, self).__call__(environ, start_response) File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 272, in __call__ response = self.get_response(request) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 59, in get_response return self.serve(request) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 52, in serve return serve(request, self.file_path(request.path), insecure=True) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/views.py", line 35, in serve absolute_path = finders.find(normalized_path) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 228, in find for finder in get_finders(): File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 242, in get_finders yield get_finder(finder_path) File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 124, in wrapper result = func(*args) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 263, in _get_finder return Finder() File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 61, in __init__ "The STATICFILES_DIRS setting should " ImproperlyConfigured: The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting