yf_yzl 2 vuotta sitten
vanhempi
commit
92c40353bb
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      bigdataAPI/settings.py

+ 1 - 0
bigdataAPI/settings.py

@@ -152,6 +152,7 @@ USE_TZ = False
 # https://docs.djangoproject.com/en/2.1/howto/static-files/
 
 STATIC_URL = '/static/'
+STATIC_ROOT = os.path.join(BASE_DIR, 'static')
 
 AUTH_USER_MODEL = 'UserApp.MyUser'