First time here? Check out the FAQ!

Revision history  [back]

Issue with syncdb: STATICFILES_DIRS

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.

Issue with syncdb: STATICFILES_DIRS

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.