Opened 8 years ago

Closed 8 years ago

#27927 closed Bug (invalid)

collectstatic with CachedStaticFilesStorage does not create symlinks

Reported by: Jesse Owned by: nobody
Component: contrib.staticfiles Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Running python manage.py collectstatic -l does not symlink the files with hash names.

Example:

-rwxrwxrwx 1 root root  1603 Mar 10 14:05 nav.6f350bdb43ca.js
lrwxrwxrwx 1 root root    66 Mar 10 14:05 nav.js -> /path/to/static/js/nav.js

Note that the post processed nav.6f350bdb43ca.js is not symlinked.

Change History (1)

comment:1 by Simon Charette, 8 years ago

Resolution: invalid
Status: newclosed

I believe this is by design to prevent hashed files content from changing if the original files changes.

Note: See TracTickets for help on using tickets.
Back to Top