1👍
The URL requires either a value for year, month, day, and post or no value for the list. You only gave one value, so get_object_or_404 errors (giving error 404 page not found hence its name) when trying to assign values for the slug, month, and day since no values were given in the url. Using a url like http://127.0.0.1:8000/blog/2023/7/5/12 is the proper formatting, using values that correspond to your database.
Source:stackexchange.com