Package bosco :: Module importer :: Class Team24hImporter
[hide private]
[frames] | no frames]

Class Team24hImporter

source code

Importer --+        
           |        
 CSVImporter --+    
               |    
  RunnerImporter --+
                   |
                  Team24hImporter

Import participant data for 24h event from CSV file.

Instance Methods [hide private]
 
import_data(self, store)
Import runner data into store.
source code

Inherited from CSVImporter: __init__

Static Methods [hide private]
Class Variables [hide private]
  RUNNER_NUMBERS = ['A', 'B', 'C', 'D', 'E', 'F']
  TEAM_NUMBER_FORMAT = u'%03d'
  RUNNER_NUMBER_FORMAT = u'%(team)s%(runner)s'
Method Details [hide private]

import_data(self, store)

source code 

Import runner data into store. Creates all the necessary objects and add them to the store, but don't commit the store.

Overrides: Importer.import_data
(inherited documentation)