Issue with syncdb: STATICFILES_DIRS

asked 2015-02-03 16:20:51 -0500

yirosie gravatar image

updated 2015-02-03 16:23:22 -0500

Hello,

When I am trying to run "python manage.py syncdb", I got the following message:

"Please attend to the following:

1) Add to STATICFILES_DIRS the following entry: ('default/media', os.path.join(ASKBOT_ROOT, 'media')),

2) Run command (after fixing the above errors) python manage.py collectstatic

If necessary, type ^C (Ctrl-C) to stop the program (to disable the self-test add ASKBOT_SELF_TEST = False)."

When I checked the settings.py, the STATICFILES_DIRS was indeed already set to the correct value as mentioned above. And then running "python manage.py collectstatic" gives "0 static files copied, 2344 unmodified."

After all this, I run the syncdb again, but it exits with the same message. Anyone has a clue what's going one here?

Thanks.

edit retag flag offensive close merge delete