Improper configure static file

django.core.exceptions.ImproperlyConfigured: You’re using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path

STATIC_ROOT = os.path.join(BASE_DIR, ‘staticfiles’)

anyone can help me…

thanks in advance

Hi, maybe the chapter Hooking up the URL mapper from Mozilla Django tutorial could be helpful. It explains why and how to set STATIC_URL respectively STATIC_ROOT.

thank you already solve the problem…

but i have another issue here…

CSRF verification failed. Request aborted.

You are seeing this message because this site requires a CSRF cookie when submitting forms. This cookie is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable cookies, please re-enable them, at least for this site, or for “same-origin” requests.

This could be related to form submition. Maybe Write a minimal form from Django tutorial could be helpful.

write what solved your problem?

is it solved or not. please tell me