Thursday, January 14, 2021

Re: Getting staticfiles to find subdirectories?

On 15/01/2021 3:12 pm, Roy Smith wrote:
> I'm running django 2.2.
>
> My static directory has a subdirectory which I want to deploy, but as far as I can tell, staticfiles only finds files in the top-level static directory. is there any way to make it recurse and find everything below the static directory, and keep the same directory structure in the deployed static area?

python manage.py collectstatic

>


--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3e222ec4-e90f-154a-ddd4-0da3bac6a1e7%40dewhirst.com.au.

No comments:

Post a Comment