Save user data in UserProfile with Middleware and GeoIP
Just make some changes :)
class LastLoginInfo(MiddlewareMixin):
def process_request(self, request):
if request.user.is_authenticated:
Just make some changes :)
class LastLoginInfo(MiddlewareMixin):
def process_request(self, request):
if request.user.is_authenticated: