Changeset 622 in tmcsimulator for branches/LCSv2/models
- Timestamp:
- 08/21/2020 12:19:51 PM (6 years ago)
- Location:
- branches/LCSv2/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LCSv2/models/db.py
r620 r622 16 16 Field('endlocation'), 17 17 Field('closuretype'), 18 Field('closedlanes'), 18 19 Field('worktype'), 19 20 Field('estdelay'), -
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.
