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

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -