1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

Fixed E124 pep8 warnings.

This commit is contained in:
Loic Bistuer
2013-12-09 00:20:06 +07:00
committed by Tim Graham
parent 0873200e7f
commit a2814846ca
45 changed files with 371 additions and 262 deletions

View File

@@ -72,7 +72,7 @@ class Media(object):
return path
if prefix is None:
if settings.STATIC_URL is None:
# backwards compatibility
# backwards compatibility
prefix = settings.MEDIA_URL
else:
prefix = settings.STATIC_URL