~doctormo/+junk/ashmont-valley-website

« back to all changes in this revision

Viewing changes to community/places/management/commands/get-whitepages.py

  • Committer: Martin Owens
  • Date: 2014-05-03 12:23:32 UTC
  • Revision ID: doctormo@gmail.com-20140503122332-tcg7jymzfsl6ittm
Add Yahoo group link to front page

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
from whitepages import Neighbourhood
5
5
 
6
 
START = ('-71.066879', '42.283524')
 
6
START = ('42.283524', '-71.066879')
 
7
 
7
8
ROADS = {
8
9
  'Fuller St'    : (1,115), # Limit fuller street
9
10
  'Bailey St'    : None,
29
30
                number=house.number,
30
31
                postcode=house.postcode,
31
32
                road=road,
32
 
                defaults={'location':'%f,%f' % (house.longitude, house.latitude)}
 
33
                defaults={'location':'%f,%f' % (house.latitude, house.longitude)}
33
34
            )
34
35
            address, created = Address.objects.get_or_create(
35
36
                apt=house.apartment,