Ticket #16631: staticfiles_logic.diff

File staticfiles_logic.diff, 478 bytes (added by Andi Albrecht, 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):  
    4242    Checks if the staticfiles settings have sane values.
    4343
    4444    """
    45     if base_url is not None:
     45    if base_url is None:
    4646        base_url = settings.STATIC_URL
    4747    if not base_url:
    4848        raise ImproperlyConfigured(
Back to Top