Why is my static CSS not working in Django?

I am having problem with my static CSS not working for my Django web app.
settings

STATIC_ROOT = os.path.join(BASE_DIR , 'static')
STATIC_URL = 'static/'
STATICFILS_DIRS =[
    os.path.join(BASE_DIR,'project/static')
]

templates>base.html

{% load static %}

<link rel="stylesheet" type="text/css" href= "{% static 'css/style.css' %}">

project>static>css>style.css

DEBUG set to True

i did python3 manage.py collectstatic

Is this your development or a deployed production environment?

How are you running your project?

Are you getting 404 errors on that file? If so, please show the server log with the failing request.

Side Note: When posting code here, enclose the code between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code properly formatted. (I’ve taken the liberty of fixing your original post. Please remember to do this in the future.)

this is my development i’m still learning
i run the project in browser using python3 manage.py runserver
no i get my html code only without any css style

I can’t solve this problem if someone please help me

Please provide the information requested.

Post your runserver log showing the requests. (Include any errors that may be showing on this log.)

Also:

This should be STATICFILES_DIRS

seems if moving this style.css to mysite/static/polls/ path, the css is loaded successfully without changing the Global parameter in settings.py.

Welcome @bill831231 !

That may well be true in this case, but might be something you don’t want to do.

In general, if you have “site-wide” static resources, they’re generally better located at the project level and not within an app. The app’s static directory should be reserved for resources used by that app.