django-polymorphic / django-polymorphic-tree

Polymorphic MPTT tree support for models
Other
170 stars 45 forks source link

Add support for Django3 #77

Closed godardth closed 4 years ago

godardth commented 4 years ago

Directly import six library as it is not included anymore in Django utils.

codecov[bot] commented 4 years ago

Codecov Report

Merging #77 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   64.91%   64.91%           
=======================================
  Files          12       12           
  Lines         761      761           
=======================================
  Hits          494      494           
  Misses        267      267
Impacted Files Coverage Δ
polymorphic_tree/models.py 63.24% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 479934a...8c94501. Read the comment docs.

vdboor commented 4 years ago

Thanks for pointing this out! I've used your PR as a basis. The commit uses the future.utils library instead of adding six as it already contained the required functions :-)