static file respond 404Error on tutorial

Sorry for the counfution about setting.py.

How exactly are you running your environment? Are you doing this with a runserver command? Or are you running this under a real web server such as Apache / mod_wsgi or nginx / uwsgi?
I’m runnning this envinronment with Apache / mod_wsgi.So I’m typing “systemctl restart httpd” to restart my webapp.
About django runnning mode, I’m using setting.py with “DEBUG = True”.

In your settings file in your repo, I didn’t see settings for STATIC_ROOT (only needed in a production mode) or STATICFILES_DIRS.
I tried it once but it didn’t worked. So I erased it in commiting files.
I thought it does’t needed when running as debug mode. Or do I need it when I run with Apache / mod_wsgi?

By the way, Is that possible this error caused by my httpd.conf?
I’m not familier with wsgi, so now I’m doubting it.

I added following option to my httpd.conf from default.

“”"
LoadModule wsgi_module modules/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so
WSGIScriptAlias / /usr/src/app/djangopractice/djangopractice/wsgi.py
WSGIPythonPath /usr/src/app/djangopractice/

<Directory /usr/src/app/djangopractice/djangopractice>

Require all granted


“”"

I’m not very sure about these settings.Should I add all static folders “Require all granted” option?
When I added those it says “does not match any patterns in djangopractice.urls”.