dominno / django-moderation

django-moderation is reusable application for Django framework, that allows to moderate any model objects.
BSD 3-Clause "New" or "Revised" License
269 stars 90 forks source link

A bunch of fixups everywhere #148

Closed blag closed 8 years ago

blag commented 8 years ago

I merged commits from other people and made a bunch of improvements to get moderation working with Django 1.9.

I had the tests skip over support for Django 1.10 because this package uses a lot of private functionality in Django, I couldn't get the tests to pass with 1.10 without breaking the tests for <1.10, and I've already spent way too much time on this as it is. So Django 1.10 support will need to go in a different PR. I will try to get back to that once I have cleared a lot of other stuff in my backlog, but I can't promise anything.

Commits I stole incorporated from other people

blag commented 8 years ago

Also, note that I fixed the logic I pointed out in #87 in this comment.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 88.063% when pulling 9a9ca3a8aaec7cde91a999faa3c34633c3f916e4 on blag:master into b2fc1389922df33d4b017f82a17d5459072d7caf on dominno:master.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 88.15% when pulling 6e48672bd6bba1a9802f81c5fddd574984fe52b2 on blag:master into b2fc1389922df33d4b017f82a17d5459072d7caf on dominno:master.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 88.358% when pulling 5b30166c24778cd36279d043532ddfb2e09bddeb on blag:master into b2fc1389922df33d4b017f82a17d5459072d7caf on dominno:master.

blag commented 8 years ago

Tests are now passing for Django 1.8 and 1.9, but I haven't quite figured it out for 1.7 and 1.10. I'll get back to this in a few days.

@dominno: Besides the test failures - how does this PR look? It's lots of changes but the changes in each commit should be fairly straightforward to review.

dominno commented 8 years ago

Hi, I'm on vacation now. Will take a look at it after 14.08

Send from iPhone

Dnia 5 sie 2016 o godz. 15:47 blag notifications@github.com napisał(a):

Tests are now passing for Django 1.8 and 1.9, but I haven't quite figured it out for 1.7 and 1.10. I'll get back to this in a few days.

@dominno: Besides the test failures - how does this PR look? It's lots of changes but the changes in each commit should be fairly straightforward to review.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

blag commented 8 years ago

No worries, thanks!

dominno commented 8 years ago

Thank you @blag for the hard work you made on this PR. Code looks great. Just you need to fix tests for django 1.10. Please let me know when you fix them and then can merge the PR.

blag commented 8 years ago

To get all of the tests passing, I removed support for Django 1.10. I'll put that in a different PR once I get back to it, but I've already spent too much time working on this as it is. I'll put the Django 1.10 fixes I have so far in a separate branch and make a PR with that.

As it stands right now, the tests pass with Django 1.7-1.9 and all of their supported Python versions, and I'm declaring this PR done!

Please merge. 😄