Try installing Pillow if you didn't
On Sunday, March 30, 2025 at 10:44:32 PM UTC+3 Szawunia wrote:
> Hi everybody,
> I have problem with my static files in my Django project, running local.
> Actually Django-Oscar, but settings files is Django. There are not founded
> (404 error). I have all my static files in my project directory (where
> 'manage.py' is).
> My settings:
>
> STATIC_URL = 'static/'
>
> STATIC_ROOT = BASE_DIR / 'static'
>
> In my templates:
>
> {% load static %}
>
> <link href="{% static "main.css" %}" rel="stylesheet">
>
> <link rel="shortcut icon" href="{% static "logo3.gif" %}" />
>
> I stuck with that problem. Earlier in my Django simple project, all was
> ok. So my settings should be right.
>
> Any help will be appreaciate. Or any idea how to check, in simple way,
> what is wrong with my static loading
>
> With all the best
>
>
> Ewa
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-users/1277eece-f0c8-4d8f-8ba1-a31bfad0e71cn%40googlegroups.com.