danfairs / django-lazysignup

django-lazysignup is a package designed to allow users to interact with a site as if they were authenticated users, but without signing up. At any time, they can convert their temporary user account to a real user account.
BSD 3-Clause "New" or "Revised" License
410 stars 89 forks source link

Make package work for Django 4.0 w/ compatibility code #71

Open bittner opened 1 year ago

bittner commented 1 year ago

django-lazysignup fails to run (at least) since Django 4.0, mostly due to code removed from the Django code base, what was announced since Django 3.1. This PR provides the fixes.

The changes are almost certainly backward-compatible. Ideally, tests should confirm that, though. You may want to use a modernized CI setup for that, like the one contributed with #69.