Changes between Initial Version and Version 1 of Ticket #29796


Ignore:
Timestamp:
Sep 26, 2018, 10:34:54 AM (6 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29796

    • Property Triage Stage UnreviewedAccepted
    • Property Summary Report error if the prefix in the STATICFILES_DIRS ends with slashAdd a system check error if the prefix in the STATICFILES_DIRS ends with slash
    • Property Type UncategorizedCleanup/optimization
  • Ticket #29796 – Description

    initial v1  
    1 Problem:
    21With following config:
    32
    4 STATICFILES_DIRS=[ ('front/', os.path.join(BASE_DIR, 'front/build')) ]
     3`STATICFILES_DIRS=[ ('front/', os.path.join(BASE_DIR, 'front/build')) ]`
    54
    65files from 'front/build' are collected by 'manage.py collectstatic' but no served by 'runserver'.
     
    87
    98My 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)
    119
    12 I'm going to submit new patch soon.
     10[https://github.com/django/django/pull/10441 PR]
Back to Top