Hello,
I have been trying to collect statics from the static folder but, its not collecting any files. But it did collect the admin files. What's wrong. Please help me.
Thank you.
settings:import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
STATIC_URL = '/static/'
# Template location
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(BASE_DIR), "static", "templates"),
)
if DEBUG:
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), "static", "static-only")
MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "static", "media")
STATIC_DIRS = (
os.path.join(os.path.dirname(BASE_DIR), "static", "static-only"),
)