Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from natgeosociety/dj-1.11
Browse files Browse the repository at this point in the history
Dj 1.11
  • Loading branch information
rcristian committed Jan 15, 2019
2 parents 774a890 + b601891 commit 777b69f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions curricula/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"""
__version_info__ = {
'major': 2,
'minor': 7,
'micro': 5,
'minor': 8,
'micro': 0,
'releaselevel': 'final',
'serial': 1,
}
Expand Down
2 changes: 1 addition & 1 deletion curricula/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Media:
def render(self, name, value, attrs=None):
if value is None:
value = ''
final_attrs = self.build_attrs(attrs, name=name)
final_attrs = self.build_attrs(attrs)
if value != '':
# Only add the 'value' attribute if a value is non-empty.
final_attrs['value'] = force_text(value)
Expand Down

0 comments on commit 777b69f

Please sign in to comment.