diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-08-15 08:22:22 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-08-15 08:22:22 +0000 |
| commit | cfba2460370a6d1808b78e2ba0709ea5c8b7e773 (patch) | |
| tree | 19ed0b578804e93e34306b86c882ce9cbb9d2103 | |
| parent | 2980f2ab9aabdea3a3b7ec343252889408690630 (diff) | |
Fixed #16631 -- Fixed embarrassing typo introduced in r16617. Thanks, Andi Albrecht.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/staticfiles/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/staticfiles/utils.py b/django/contrib/staticfiles/utils.py index 55ea3cf06b..f500ed6d20 100644 --- a/django/contrib/staticfiles/utils.py +++ b/django/contrib/staticfiles/utils.py @@ -42,7 +42,7 @@ def check_settings(base_url=None): Checks if the staticfiles settings have sane values. """ - if base_url is not None: + if base_url is None: base_url = settings.STATIC_URL if not base_url: raise ImproperlyConfigured( |
