Re: how to import serveral csv into database by using migrations.RunPython

2018-08-22 Thread Mike Dewhirst
On 23/08/2018 1:32 AM, emmanuel wyckens wrote: Hello, The class below didn't work if you use migrations.RunPython several times. Have you got an idea to manage double csv file importation into database ? In your migration file ... from django.db import migrations, models from .utils import do

how to import serveral csv into database by using migrations.RunPython

2018-08-22 Thread emmanuel wyckens
Hello, The class below didn't work if you use migrations.RunPython several times. Have you got an idea to manage double csv file importation into database ? Thanks Emmanuel class Migration(migrations.Migration): dependencies = [ ("contact", "0001_initial"), ] operations