im facing issue not finding css files, static files are collected i have checked settings im not sure if the problem form django or whitenoise same with 500 server error with debug off ,
Performing system checks...
System check identified no issues (0 silenced).
April 09, 2024 - 05:09:36
Django version 5.0.1, using settings 'project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Traceback (most recent call last):
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\base.py", line 220, in _get_response
response = response.render()
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\response.py", line 114, in render
self.content = self.rendered_content
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\response.py", line 92, in rendered_content
return template.render(context, self._request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\loader_tags.py", line 159, in render
return compiled_parent._render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 116, in render
url = self.url(context)
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 113, in url
return self.handle_simple(path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 129, in handle_simple
return staticfiles_storage.url(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 203, in url
return self._url(self.stored_name, name, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 182, in _url
hashed_name = hashed_name_func(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 516, in stored_name
raise ValueError(
ValueError: Missing staticfiles manifest entry for 'css/animate.css'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\allauth\account\middleware.py", line 28, in middleware
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\src\settings\views.py", line 55, in handl500
return render(request, 'settings/500.html', status=500)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\shortcuts.py", line 24, in render
content = loader.render_to_string(template_name, context, request, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\loader.py", line 62, in render_to_string
return template.render(context, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\loader_tags.py", line 159, in render
return compiled_parent._render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 116, in render
url = self.url(context)
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 113, in url
return self.handle_simple(path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 129, in handle_simple
return staticfiles_storage.url(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 203, in url
return self._url(self.stored_name, name, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 182, in _url
hashed_name = hashed_name_func(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 516, in stored_name
raise ValueError(
ValueError: Missing staticfiles manifest entry for 'css/animate.css'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\src\settings\views.py", line 55, in handl500
return render(request, 'settings/500.html', status=500)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\shortcuts.py", line 24, in render
content = loader.render_to_string(template_name, context, request, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\loader.py", line 62, in render_to_string
return template.render(context, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\loader_tags.py", line 159, in render
return compiled_parent._render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 1000, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\template\base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 116, in render
url = self.url(context)
^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 113, in url
return self.handle_simple(path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\templatetags\static.py", line 129, in handle_simple
return staticfiles_storage.url(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 203, in url
return self._url(self.stored_name, name, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 182, in _url
hashed_name = hashed_name_func(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\B\Project\HairSalon\hairsalon\Lib\site-packages\django\contrib\staticfiles\storage.py", line 516, in stored_name
raise ValueError(
ValueError: Missing staticfiles manifest entry for 'css/animate.css'
Python Version
3.11.4
Django Version
5.0.1
Package Version
6.6.0
Description
im facing issue not finding css files, static files are collected i have checked settings im not sure if the problem form django or whitenoise same with 500 server error with debug off ,
heres link to repo : https://github.com/AbdullahBakir97/Barber-Salon
i have tried this but haved same results : Fix issue with static files on Windows #474 :
settings:
error: