views:

10

answers:

1

I want to show different phone numbers / contact information on a website based on the IP address of the visitor. I want the granularity to be as fine as US states (have a unique record for each US State) and then have a catch all for all non-US IP Addresses.

This is a very common task I'd imagine others have, we want to show a different sales line # for each US State since we have different sales reps for each state (potentially, a lot of states are handled by the same sales person.)

A: 

http://stackoverflow.com/questions/2218093/django-retrieve-ip-location

Has most of the info needed to do this.

MikeN