moved get_by_ip from models.py to proxies.py