Changeset 622 in tmcsimulator for branches/LCSv2/models/db.py.bak
- Timestamp:
- 08/21/2020 12:19:51 PM (6 years ago)
- File:
-
- 1 edited
-
branches/LCSv2/models/db.py.bak (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/LCSv2/models/db.py.bak
r620 r622 69 69 Field('radiocallnum') 70 70 ) 71 db. supervisors.truncate() # delete all records and reset the counter of the id.72 db. supervisors.import_from_csv_file(open('crew.csv', 'r')) #import the file71 db.crew.truncate() # delete all records and reset the counter of the id. 72 db.crew.import_from_csv_file(open('crew.csv', 'r')) #import the file
Note: See TracChangeset
for help on using the changeset viewer.
