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

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

2010-07-06 Thread NoviceSortOf
I would like to record the IP numbers of persons registering on our Django driven site. The IP can simply be recorded in the form generated and sent to us during the registration process, as we have custom notifiers sent to us whenever somebody registers. But I'm wondering in the registration proc