Ticket #16631: staticfiles_logic.diff
File staticfiles_logic.diff, 478 bytes (added by , 13 years ago) |
---|
-
django/contrib/staticfiles/utils.py
diff --git a/django/contrib/staticfiles/utils.py b/django/contrib/staticfiles/utils.py index 55ea3cf..f500ed6 100644
a b def check_settings(base_url=None): 42 42 Checks if the staticfiles settings have sane values. 43 43 44 44 """ 45 if base_url is notNone:45 if base_url is None: 46 46 base_url = settings.STATIC_URL 47 47 if not base_url: 48 48 raise ImproperlyConfigured(