Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for django-reversion 2.04 #73

Merged
merged 1 commit into from
Aug 25, 2016
Merged

Update for django-reversion 2.04 #73

merged 1 commit into from
Aug 25, 2016

Conversation

mshannon1123
Copy link

  • Sorry for the large PR, but included is some pep8 cleanup and optimizations
  • Unit Tests pass locally
  • Testing ok with django-reversion 2.04 and Oracle as DB

@coveralls
Copy link

coveralls commented Jun 28, 2016

Coverage Status

Coverage increased (+4.5%) to 83.276% when pulling 5817c80 on urbn:master into 304bb18 on jedie:master.

@jedie
Copy link
Owner

jedie commented Jun 29, 2016

Thanks for your contribution!

Please change .travis.yml, so that the tests runs also against django-reversion v2 ;)
And add you to AUTHORS.

@@ -91,9 +84,9 @@ def __eq__(self, other):
return False

# see - https://hynek.me/articles/hasattr/
internal_type = getattr(self.field,'get_internal_type',None)
if internal_type is None or internal_type() == "ForeignKey": # FIXME!
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove comments?

@mshannon1123 mshannon1123 force-pushed the master branch 2 times, most recently from 19ee6cc to c427a18 Compare June 29, 2016 19:03
@coveralls
Copy link

coveralls commented Jun 29, 2016

Coverage Status

Coverage decreased (-0.3%) to 78.459% when pulling c427a18 on urbn:master into 304bb18 on jedie:master.

@mshannon1123
Copy link
Author

@jedie I pushed up and corrected a cross-compatibility error. Let me know if you see anything else.


if missing_objects:
result.append("missing m2m objects: %s" % repr(missing_objects))
result.append("missing m2m objects: %s" % repr(missing_objects))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a intention error?!?

@coveralls
Copy link

coveralls commented Jun 30, 2016

Coverage Status

Coverage increased (+7.2%) to 85.983% when pulling 5bf163f on urbn:master into 304bb18 on jedie:master.

@mshannon1123
Copy link
Author

Just a ping to remind if you have a moment to review this change.

@murdav
Copy link

murdav commented Aug 18, 2016

This will be great.
Thanks,
D

- DJANGO='1.9' REVERSION='1.10' EXTRA='diff-match-patch'
- DJANGO='1.9' REVERSION='2.0.4' EXTRA='diff-match-patch'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "2.0.4" is too limited. (Current django-reversion version is 2.0.6)

Why not use "2.0" ?

@jedie
Copy link
Owner

jedie commented Aug 23, 2016

Think it makes sense to support only django-reversion >= 2.x
isn't it?

@jedie
Copy link
Owner

jedie commented Aug 23, 2016

Please take a look at #76 ;)

@jedie jedie merged commit 62699ea into jedie:master Aug 25, 2016
@jedie
Copy link
Owner

jedie commented Aug 25, 2016

v0.7.0 released on PyPi and will support django-reversion v2.0.x

@mshannon1123
Copy link
Author

Looked great, thanks for the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants