Unable to perform collectstatic

前端 未结 7 1259
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-30 02:42

I am new to django ! When I use the command python manage.py collectstatic I get this error

django.core.exceptions.ImproperlyConfigured: You\'re usi         


        
7条回答
  •  温柔的废话
    2021-01-30 03:24

    STATIC_ROOT = os.path.join(BASE_DIR, 'assest')
    STATICFILES_DIR = [
    os.path.join(BASE_DIR, 'static')
    ]
    

提交回复
热议问题