Вот мой html код
<div class="m-grid__item m-grid__item--fluid m-grid m-error-5"
style="background-image: url('{% static "Default/assets/images/bg5.jpg" %}');">
<div class="m-error_container">
<span class="m-error_title">
<h1>
Oops!
</h1>
</span>
<p class="m-error_subtitle">
Something went wrong here.
</p>
<p class="m-error_description">
We're working on it and we'll get it fixed
<br>
as soon possible.
<br>
You can back or use our Help Center.
</p>
</div>
</div>
Вот код в settings.py
STATIC_DIR = os.path.join(BASE_DIR, "UI") # path for the static files i.e css, JS, images
STATICFILES_DIRS = [
STATIC_DIR,
]
И следующая иерархия папок