I can't get the static files to load on my page and neither on the admin section. (404 not found on the chrome console)
I have already checked questions from other user and possible solutions but I can't get through it from suggestions made to other users.
On my settings.py I have (works fine on local) :
INSTALLED_APPS = (
(...)
'django.contrib.staticfiles',
)
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
MAIN_DIR = os.path.dirname(os.path.dirname(__file__))
(...)
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(MAIN_DIR, 'static'),
)
And for the admin I've tried adding:
STATIC_ROOT = '/home/varveler/.virtualenvs/env/lib/python2.7/site-packages/django/contrib/admin/static/admin'
But its not working.
Also in 'web' tab i have the path for statics: /home/varveler/tdmx/tdmxa/static/
I am barely new to coding, am I missing something? How does specify your path-to-statics on the web tab works? does it override settings.py? Regards.