Friday, December 28, 2012

Re: manage.py collectstatic?

On 29/12/2012 6:32pm, Derek wrote:
> When I run this command, I get:
>
> You have requested to collect static files at the destination
> location as specified in your settings.
>
> This will overwrite existing files!
> Are you sure you want to do this?
>
> Q1: Where is this location specified in settings?

settings.STATIC_ROOT

>
> Q2: Which files will be overwritten and why?

All the files which were previously copied to STATIC_ROOT from all the
paths listed in settings.STATICFILES_DIRS will be overwritten

In theory you could empty STATIC_ROOT and refill it each time via
manage.py collectstatic

Mike

>
> Thanks
> Derek
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment