Unable to perform collectstatic

前端 未结 7 1257
爱一瞬间的悲伤
爱一瞬间的悲伤 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:48
    STATIC_ROOT = "/var/www/YourSiteFolder/static/"
    STATIC_URL = '/static/'
    

    look at https://docs.djangoproject.com/en/1.11/howto/static-files/#deployment

    0 讨论(0)
提交回复
热议问题