You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use django's staticfiles and media serving during development– but this seems to cause an issue where my main routes for staticfiles and mediafiles are on a subdomain that isn't my default subdomain.
In my configuration:
I am using django-rest-framework
I have my default django-hosts subdomain set as api,
but my staticfiles are hosted on the www subdomain.
How can I get either DRF or django to route the staticfiles / media assets to the correct subdomain?
The text was updated successfully, but these errors were encountered:
I use django's staticfiles and media serving during development– but this seems to cause an issue where my main routes for staticfiles and mediafiles are on a subdomain that isn't my default subdomain.
In my configuration:
api
,www
subdomain.How can I get either DRF or django to route the staticfiles / media assets to the correct subdomain?
The text was updated successfully, but these errors were encountered: