First time here? Check out the FAQ!

Revision history  [back]

How to configure STATIC_URL setting?

I tried to follow the installation steps from here http://askbot.org/doc/initialize-database-tables.html, but when I try to start the webserver I got the following error:

Are there any hints about how to configure static files?

$ python manage.py runserver `hostname -i`:8000
...
.py", line 3, in <module>
    settings = StaticfilesSettings("STATICFILES")
  File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/staticfiles/utils.py", line 160, in __init__
    value = callback(value)
  File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/staticfiles/settings.py", line 46, in configure_url
    raise ImproperlyConfigured("You're using the staticfiles app "
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the required STATIC_URL setting.