﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29796	Report error if the prefix in the STATICFILES_DIRS ends with slash	Paweł Kołodziej	nobody	"Problem:
With following config:

STATICFILES_DIRS=[ ('front/', os.path.join(BASE_DIR, 'front/build')) ]

files from 'front/build' are collected by 'manage.py collectstatic' but no served by 'runserver'.
The problem is caused by trailing slash in prefix ('front/' instead of 'front').

My first solution was to normalize the prefix, but it was suggested that it's better to report error. 
(https://github.com/django/django/pull/10441)

I'm going to submit new patch soon."	Uncategorized	new	contrib.staticfiles	dev	Normal				Unreviewed	1	0	0	0	0	0
