fix(api): static_url settings is required in dev mode (#1662)
This commit is contained in:
parent
fd603a7aa8
commit
f5bb31e971
|
@ -9,6 +9,7 @@ from ._internal import (
|
|||
MIDDLEWARE,
|
||||
REST_FRAMEWORK,
|
||||
ROOT_URLCONF,
|
||||
STATIC_URL,
|
||||
TEMPLATES,
|
||||
TEST_RUNNER,
|
||||
WSGI_APPLICATION,
|
||||
|
|
|
@ -89,6 +89,11 @@ REST_FRAMEWORK = {
|
|||
"URL_FIELD_NAME": "item_url",
|
||||
}
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
||||
|
||||
STATIC_URL = "/api/v2/static/"
|
||||
|
||||
AUTH_USER_MODEL = "libretime_api.User"
|
||||
|
||||
TEST_RUNNER = "libretime_api.tests.runners.ManagedModelTestRunner"
|
||||
|
|
Loading…
Reference in New Issue