Ok great, I have added a non secret key like suggested. I was wondering when to make the change - at what point.
Anyways, now when I runserver it outputs the following at that URL:
# Page not found (404)
|Request Method:|GET|
| --- | --- |
|Request URL:|http://127.0.0.1:8000/|
Using the URLconf defined in `YouTrade1.urls`, Django tried these URL patterns, in this order:
1. admin/
2. YouTrade1_App/templates/YouTrade1/YT_Creators.html [name='home1']
3. ^static/(?P<path>.*)$
The empty path didn’t match any of these.
You’re seeing this error because you have `DEBUG = True` in your Django settings file. Change that to `False`, and Django will display a standard 404 page.
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
March 14, 2024 - 16:29:36
Django version 5.0.3, using settings 'YouTrade1.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Not Found: /
[14/Mar/2024 16:29:40] "GET / HTTP/1.1" 404 2353
So it’s clear there is something that is not found. Now what could it be? The URL could be an option, but how to fix? Isn’t it referenced correctly already in my urls.py?
Forget about my previous, I found a part of the solution, I needed an empty view reference, why is that the case though?
Now it loads the CSS file, but the input I gave in there are not reflected on my server - my image in the CSS file still doesn’t show up as a background…
You can find it in Mod_v2.0