Closed AhmedWagdi1 closed 6 years ago
I guess replacing to='auth.User
with to=settings.AUTH_USER_MODEL
in in the field's definition would do the trick
any takers? In the foreseeable future I won't have the time to do & test it
@bui3itf0ky00 there is a new version which fixes the problem. See https://pypi.org/project/django-currentuser/
In my django project am not using the basic user table, I created custom user model,, when I used current user it gives me an error
that is how I am using it in models.py