Show
Ignore:
Timestamp:
05/31/07 19:30:14 (5 years ago)
Author:
bycycle
Message:

Added Seattle, WA. Converted Daniel's code from MySQL version.

* region.js

  • Added seattlewa to regions

* seattlewa.html

  • Added empty template for region

* model.regions

  • Added seattlewa aliases

* data.integrator

  • Use strings instead of the actual methods in actions

* model.seattlewa.*

  • Copied portlandor and modified for Seattle
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • core/trunk/byCycle/model/regions.py

    r879 r920  
    1414"""Info on regions. 
    1515 
    16 TODO: This should stored in the database. 
     16TODO: This should stored in the database or derived from data that's already 
     17in the DB. 
    1718 
    1819""" 
     
    99100region_aliases.update(dict([(a, pittsburghpa) for a in aliases])) 
    100101 
     102aliases = (seattlewa, 'seattle') 
     103region_aliases.update(dict([(a, seattlewa) for a in aliases])) 
     104 
    101105 
    102106def getRegionKey(region):