Django static files settings

In my app i combine Django and FastAPI.
So I start my django server this way:

from fastapi import FastAPI
from django.core.asgi import get_asgi_application

app = FastAPI()
app.mount("/dj", get_asgi_application())

But when i open Django Admin panel i get many errors like:
"GET /dj/static/admin/css/dashboard.css HTTP/1.1" 404 Not Found.

How should i configure Django static files to get proper Admin panel?

Вернуться на верх