Admin static files url

I’m not sure I understand what you’re trying to ask here, but as a general rule, your STATIC_URL setting should be an absolute URL. (In other words, /static/ is the correct setting.)

Likewise, in a deployment environment, your STATIC_ROOT setting should also be an absolute path, and ideally, outside the project dir.