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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -