|
@@ -155,10 +155,10 @@ DATABASES = {
|
|
|
# https://docs.djangoproject.com/en/4.0/howto/static-files/
|
|
|
|
|
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
|
|
-STATIC_URL = '/static/'
|
|
|
+STATIC_URL = '/'
|
|
|
|
|
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media').replace('\\', '/')
|
|
|
-MEDIA_URL = '/api/media/'
|
|
|
+MEDIA_URL = '/'
|
|
|
|
|
|
|
|
|
# Default primary key field type
|