cehdeti / pyeti

A Python package of awesome stuff.
MIT License
0 stars 0 forks source link

Django 2 compatibility #2

Closed suchermon closed 5 years ago

suchermon commented 5 years ago

I have upgraded EWP to django 2 so I can use the latest of wagtail. Adding this to support django 1.11 and newer. Please review.

theunraveler commented 5 years ago

Thanks for tackling this, @suchermon . I did notice a small issue and that's that when you call methods, self needs to be the first parameter. So your method call wasn't actually doing anything with the user parameter in that function.

In any case, I changed the call in a few ways:

Thanks, and let me know if this makes sense or if you have any thoughts or questions.

suchermon commented 5 years ago

Sounds good!

suchermon commented 5 years ago

ok to merge? So I can pull the latest into EWP project

theunraveler commented 5 years ago

I think so :+1: