David de Wet

Results 4 issues of David de Wet

@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...

Please see Pull Request for details https://github.com/PiDelport/django-payfast/pull/18

Hi @PiDelport :wave: I've added some changes for Django 4.0 support. Got it working on my side, tests passing OK. Feel free to make any additional changes. Thanks!

Django 3.0 [removes](https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis) `django.utils.encoding.python_2_unicode_compatible()`, which is used as a [decorator](https://github.com/PiDelport/django-payfast/blob/9c14aec3d3993644464c1cdacc89614500de664d/payfast/models.py#L11) on the `PayFastOrder` model. Removing this decorator is required for Django 3.0 support. ## Reference - https://github.com/macropin/django-registration/issues/371