Re: How to record/capture IP address of user/registrant in Django

2010-07-07 Thread NoviceSortOf
Thanks Thusjanthan... That certainly will work. Now request.META['REMOTE_ADDR'] it seems it would be possible somehow to add a field to our userprofile or auth_user table such as last_ip_used and record that customers last IP when using the system. This makes easier for us to track from the ap

Re: How to record/capture IP address of user/registrant in Django

2010-07-06 Thread thusjanthan
This would be done in the view that calls the registration page. Suppose its like this def index(request): message = request.META['REMOTE_ADDR'] ... send message ... Basically short of it is the dictionary request.META contains the Key: REMOTE_ADDR which contains the ip. You would access