I am new to django ! When I use the command python manage.py collectstatic I get this error
python manage.py collectstatic
django.core.exceptions.ImproperlyConfigured: You\'re usi
well had this error as well. I fixed:
STATIC_URL = '/static/' if DEBUG: STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), ] else: STATIC_ROOT = os.path.join(BASE_DIR,'static') MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')