I deployed my django app to pythonanywhere.com and my admin css not working http://directdirect.pythonanywhere.com/admin/login/?next=/admin/ what do I do? I use django 2.0 settings.py:
Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'django_direct/main_app/static'),
os.path.join(BASE_DIR, 'django_direct/main_app/static'),
http://directdirect.pythonanywhere.com/static/admin/css/dashboard.css
]
STATIC_ROOTpointing to? Can you check your server if the files are where they are supposed to be?STATIC_ROOTas well, not justSTATIC_URL?