Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

newforms-admin: Fixed #6005 -- Fixed double calling of Media() in new…

…forms/widgets.py. Thanks, Petr Marhoun

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c79babb4887404fccaf0e28b58651cfe2052f218 1 parent f4c7a0d
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/newforms/widgets.py
View
3  django/newforms/widgets.py
@@ -110,10 +110,9 @@ def _media(self):
m = Media()
for medium in extend:
m = m + base[medium]
- m = m + Media(definition)
return m + Media(definition)
else:
- return Media(definition)
+ return Media(definition)
else:
return base
return property(_media)
Please sign in to comment.
Something went wrong with that request. Please try again.