Skip to content

Commit b220f81

Browse files
committed
Fix issue where VersionForm wasn't returning object on save
1 parent 21d6a85 commit b220f81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/builds/forms.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ def save(self, *args, **kwargs):
3333
obj = super(VersionForm, self).save(*args, **kwargs)
3434
if obj.active and not obj.built and not obj.uploaded:
3535
trigger_build(project=obj.project, version=obj)
36+
return obj

0 commit comments

Comments
 (0)