To Reproduce
Steps to reproduce the behavior:
- Create a new project(New simple application).
- Go to Models, and edit db.py
Add this:
db.define_table('contacts', Field('first_name'),
Field('last_name'), Field('company_name'), Field('address'),
Field('city'), Field('county'), Field('state_name'), Field('zip'),
Field('phone1'), Field('phone2'), Field('email', requires=IS_EMAIL()),
Field('web') )
code.txt
- Download and unpack attached CSV file:
us-500.zip (Also you can download "us-500.csv" from https://www.briandunning.com/sample-data/ they shall be same) - Return to the administrative interface, select Manage/Edit onto the project you create.
- Press the button "database administration" under the Model label.
- Press "db.contacts".
- Under the label "Import/Export" press Browse button
- Select unpacked CSV
- Press import button.
- Get same table as it was before(unchanged), and some bubble about the error(which one does not fin into buble).
python 3.7
windows 10
Thank you for your help