Changes between Initial Version and Version 1 of Ticket #29796
- Timestamp:
- Sep 26, 2018, 10:34:54 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29796
- Property Triage Stage Unreviewed → Accepted
- Property Summary Report error if the prefix in the STATICFILES_DIRS ends with slash → Add a system check error if the prefix in the STATICFILES_DIRS ends with slash
- Property Type Uncategorized → Cleanup/optimization
-
Ticket #29796 – Description
initial v1 1 Problem:2 1 With following config: 3 2 4 STATICFILES_DIRS=[ ('front/', os.path.join(BASE_DIR, 'front/build')) ] 3 `STATICFILES_DIRS=[ ('front/', os.path.join(BASE_DIR, 'front/build')) ]` 5 4 6 5 files from 'front/build' are collected by 'manage.py collectstatic' but no served by 'runserver'. … … 8 7 9 8 My first solution was to normalize the prefix, but it was suggested that it's better to report error. 10 (https://github.com/django/django/pull/10441)11 9 12 I'm going to submit new patch soon. 10 [https://github.com/django/django/pull/10441 PR]