So I set up my django and it seemed to be working fine until I noticed my admin panel would not be styled with css. I also could not access one of my views via url getting an Internal Server Error. The Apache Error Log looks like this but I dont really get what I messed up.
[Sun Jun 26 19:46:29.256896 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] mod_wsgi (pid=19419): Failed to exec Python script file '/home/pi/myproject/myprojectenv/myproject/myproject/wsgi.py'.
[Sun Jun 26 19:46:29.257249 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] mod_wsgi (pid=19419): Exception occurred processing WSGI script '/home/pi/myproject/myprojectenv/myproject/myproject/wsgi.py'.
[Sun Jun 26 19:46:29.257906 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] Traceback (most recent call last):
[Sun Jun 26 19:46:29.258141 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] File "/home/pi/myproject/myprojectenv/myproject/myproject/wsgi.py", line 16, in <module>
[Sun Jun 26 19:46:29.258201 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] application = get_wsgi_application()
[Sun Jun 26 19:46:29.258274 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] File "/home/pi/myproject/myprojectenv/lib/python3.7/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
[Sun Jun 26 19:46:29.258324 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] django.setup(set_prefix=False)
[Sun Jun 26 19:46:29.258458 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] File "/home/pi/myproject/myprojectenv/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
[Sun Jun 26 19:46:29.258508 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] apps.populate(settings.INSTALLED_APPS)
[Sun Jun 26 19:46:29.258575 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] File "/home/pi/myproject/myprojectenv/lib/python3.7/site-packages/django/apps/registry.py", line 83, in populate
[Sun Jun 26 19:46:29.258627 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] raise RuntimeError("populate() isn't reentrant")
[Sun Jun 26 19:46:29.258740 2022] [wsgi:error] [pid 19419] [client 192.168.2.138:61502] RuntimeError: populate() isn't reentrant
Edit: I should add: I never changed something in the wsgi.py file