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

Revert removal of LAZYSIGNUP_USER_NAME_FIELD #58

Closed phoebebright closed 2 years ago

phoebebright commented 6 years ago

Undid most of the changes in this commit as getting error that models not loaded in django 1.10 and 1.11 . If reverted to earlier version lazysignup then errors related to django version.
Basicially undoes these changes to https://github.com/danfairs/django-lazysignup/commit/b04bc68d821a622610e3ad90fdac8190b2a38cef#diff-aeccbf6d9d46b31ff3c14fba9d664a12 and defaults LAZYSIGNUP_USER_NAME_FIELD to "username"

This may not be the best approach but it works for me.