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
you can create 'static' folder in any subfolder and have required files in it. In settings.py add the following lines of code:
PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
STATIC_URL = '/static/'
After running
python manage.py collectstatic
a new static folder will be created in your parent App folder