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
This commit is contained in:
parent
2980f2ab9a
commit
cfba246037
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue