You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. from django.apps import AppConfig
  2. from django.contrib.staticfiles.checks import check_finders
  3. from django.core import checks
  4. from django.utils.translation import gettext_lazy as _
  5. class StaticFilesConfig(AppConfig):
  6. name = 'django.contrib.staticfiles'
  7. verbose_name = _("Static Files")
  8. ignore_patterns = ['CVS', '.*', '*~']
  9. def ready(self):
  10. checks.register(check_finders, 'staticfiles')