Refactor logic out of UploadDiffForm
Review Request #4231 — Created June 11, 2013 and submitted — Latest diff uploaded
Refactor logic out of UploadDiffForm All of the logic for taking a diff file and creating a DiffSet was in UploadDiffForm. This change moves it out into a manager, so that I'll be able to use the same code for creating DiffSets from diff data fetched from an upstream repository.
Ran unit tests.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
reviewboard/diffviewer/forms.py |
---|
reviewboard/diffviewer/managers.py |
---|
reviewboard/diffviewer/models.py |
---|
reviewboard/diffviewer/tests.py |
---|