]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Remove 'latest_series'
authorStephen Finucane <stephen@that.guru>
Wed, 5 Sep 2018 14:53:32 +0000 (15:53 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Sep 2018 20:24:24 +0000 (14:24 -0600)
commit84def8549f6fc624a523e4c45480305848f29cc9
tree893262f7e8cf7ae820aad09c89f6a37865142985
parent880ec8c5cddbf5505d350a50d617ff7c817828c2
models: Remove 'latest_series'

This is only used in a single view (where it probably shouldn't be used)
and some tests. It's an anti-pattern that makes it too easy to shoot
yourself in the foot. Remove it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/models.py
patchwork/templates/patchwork/download_buttons.html
patchwork/tests/test_series.py
patchwork/views/utils.py