Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
from django.contrib.gis.utils import GeoIP def is_in_uk(ip): g = GeoIP() ip_location = g.country(ip) return ip_location['country_code'] == 'GB'
This paste will be private.
From the Design Piracy series on my blog: