Django project deployment

0

Hi, I'm deploying my project on a Linux server 16.04 but when I do the following   python3 manage.py collectstatic
all right the problem is later when I start running the app that can not find me the static files I get like this in console

So I have my project and in the settings.py file I was like that STATIC_URL = 'src/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'src/static')]

and change it because it asks me STATIC_ROOT

STATIC_URL = 'src/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static/')

    
asked by Antonio 31.07.2018 в 20:30
source

0 answers