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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

c# - Call function from DLL -