README: mention global_settings.STATICFILES_FINDERS

This commit is contained in:
Frédéric Péters 2014-09-04 10:31:53 +02:00
parent ec24d872de
commit c51304bc27
1 changed files with 4 additions and 5 deletions

View File

@ -3,11 +3,10 @@ Configuration
You should add gadjo.finders.XStaticFinder to STATICFILES_FINDERS,
STATICFILES_FINDERS = (
"django.contrib.staticfiles.finders.FileSystemFinder",
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
"gadjo.finders.XStaticFinder",
)
from django.conf import global_settings
STATICFILES_FINDERS = global_settings.STATICFILES_FINDERS + \
('gadjo.finders.XStaticFinder',)
There is a CDNS settings, that can contain a list of (cdn name, protocol)
tuples; for example: