Skip to content

Commit

Permalink
Fix issue where VersionForm wasn't returning object on save
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Dec 11, 2015
1 parent 21d6a85 commit b220f81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/builds/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ def save(self, *args, **kwargs):
obj = super(VersionForm, self).save(*args, **kwargs)
if obj.active and not obj.built and not obj.uploaded:
trigger_build(project=obj.project, version=obj)
return obj

0 comments on commit b220f81

Please sign in to comment.