[Django]-Django pipeline breaks admin when DEBUG=False

4👍

Found it, the STATICFILES_FINDERS didn’t have the built-in django one, so when collecting static files it wasn’t copying the css and js from admin.

STATICFILES_FINDERS = (
    'pipeline.finders.FileSystemFinder',
    'pipeline.finders.AppDirectoriesFinder',
    'pipeline.finders.PipelineFinder',
    'pipeline.finders.CachedFileFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder', # added this and worked
)

Leave a comment