Am Montag, 22. Oktober 2012 11:19:42 UTC+2 schrieb Xavier Ordoquy:
>
> Hi,
>
> Your static folder should be declared in STATICFILES_DIRS if you want him
> to be served (see
> https://docs.djangoproject.com/en/1.4/howto/static-files/#basic-usage about
> that).
>
>
>
All the documentation refers to STATICFILES_DIRS as "this is where tu put
additional paths" with INSTALLED_APPS/static being the default path.
If I add this to STATICFILES_DIR:
'/el_test/static'
...the admin page login completely loses any styling because it can't serve
the admin css files anymore
(the url's are http://localhost:8000/static/admin/css/login.css and
http://localhost:8000/static/admin/css/base.css)
So either the documentation is wrong or I understand the word "additional"
in a different way as the author of the documentation...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/_wR4nh2TKjYJ.
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.