PiDelport / django-payfast

Django integration for the PayFast payment gateway
MIT License
17 stars 22 forks source link

Support for `python_2_unicode_compatible` decorator removed in Django 3 #15

Open atlasstrategic opened 4 years ago

atlasstrategic commented 4 years ago

@PiDelport I have tested this simple patch in my project successfully (Python version 3.6.6 and Django==3.0.2).

I have however not run the test suite nor have I removed the use of the six module, in case you still want to continue support for Python 2.

References

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9c14aec). Click here to learn what that means. The diff coverage is 40.00%.

:exclamation: Current head 4f7a308 differs from pull request most recent head 8c6580b. Consider uploading reports for the commit 8c6580b to get more accurate results Impacted file tree graph

@@            Coverage Diff            @@
##             master      #15   +/-   ##
=========================================
  Coverage          ?   89.50%           
=========================================
  Files             ?       12           
  Lines             ?      486           
  Branches          ?       44           
=========================================
  Hits              ?      435           
  Misses            ?       39           
  Partials          ?       12           
Impacted Files Coverage Δ
payfast/models.py 93.22% <40.00%> (ø)

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 9c14aec...8c6580b. Read the comment docs.