2👍
Try setting STATIC_URL
based on DEBUG
:
if DEBUG:
STATIC_URL = "/static/"
else:
STATIC_URL = "http://external.domain.com/"
Then make sure you’ve added the static files url patterns to your url config
Source:stackexchange.com
2👍
Try setting STATIC_URL
based on DEBUG
:
if DEBUG:
STATIC_URL = "/static/"
else:
STATIC_URL = "http://external.domain.com/"
Then make sure you’ve added the static files url patterns to your url config