I found this a little while ago and reported the mistake in the docs. There is an exception made in the code for the admin media to preserve backwards compatibility, and allow the files to remain in "media" rather than "static".

Regards
Phil

On 15/11/2011 16:34, Ivo Brodien wrote:
Hi,

on 1.3.1. I ran:

./manage.py collectstatic --dry-run

and it found files in: django/contrib/admin/media/

which is fine, but I am wondering, why these files are found since the docs 
says, that the default folder apps have to store there static assets is a 
folder called “static”.

I haven’t added anything to STATICFILES_DIRS or STATICFILES_FINDERS

Thanks for clarification.

PS: I am upgrading from 1.2.5 to 1.3.1 so my setting.py file is actually an 
"old one”  with the added settings for the static stuff.


--

Philip Mountifield
Formac Electronics Ltd
tel  +44 (0) 1225 837333
fax  +44 (0) 1225 430995

[email protected]
www.formac.net
www.telgas.net

--
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.

Reply via email to