python - Unable to perform collectstatic -


मैं डीजेंगो के लिए नया हूँ! जब मैं कमांड python manage.py collectstatic का उपयोग करता हूं तो मुझे यह त्रुटि मिलती है

  django.core.exceptions.ImproperlyConfigured: आप सेट किए बिना staticfiles ऐप का उपयोग कर रहे हैं        

और डिबग सेट है सही करने के लिए

  debug = true   

मैं इसे कैसे ठीक कर सकता हूं? किसी भी स्थापना पैकेज को याद नहीं है?

इसे आज़माएं,

  PROJECT_DIR = Os.path.dirname (os.path.abspath (__ फ़ाइल__)) STATIC_ROOT = os.path.join (PROJECT_DIR, 'स्थिर')   

देखें >

Comments

Popular posts from this blog

sql - Postgresql record to array -

c++ - Cmake produces file extensions in static library archives -

Pygame memory leak with transform.flip -