On Thu, Feb 3, 2011 at 12:51 PM, Marc Aymerich <[email protected]> wrote:
> Hi,
> I just installed the django-admin-tools app but my django installation
> doesn't load the css, js and other static files.
>
> in settings.py I have:
> STATIC_ROOT = '/home/ucp/trunk/static/'
> STATIC_URL = '/static/'
>
> and when i try to load
> http://localhost:8081/static/admin_tools/css/dashboard.css I get a
> "page not found" error :(
>
> but this file seems to be in the right directory and have read
> permisons for my user!
> /home/ucp/trunk/static/admin_tools/css/dashboard.css
>
> what I'm missing?
I solve it setting staticfiles_dirs var:
STATICFILES_DIRS = ('/home/ucp/trunk/static/',)
--
Marc
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.