Hi, Try this. https://simpleisbetterthancomplex.com/packages/2016/08/11/django-import-export.html
https://docs.djangoproject.com/en/3.0/howto/initial-data/ https://django-import-export.readthedocs.io/en/latest/getting_started.html On Fri, Jun 19, 2020 at 11:37 AM Mohsen Pahlevanzadeh < [email protected]> wrote: > Hello, > > I have two sql files : 1.creating tables 2.INSERT data > > Now I want to import to my database and generating my models.py according > to my sql files. > > Is it possible? > > > if true, please guide me. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/7dc184da-2dac-4f9a-940c-6ddeefdad86ao%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/7dc184da-2dac-4f9a-940c-6ddeefdad86ao%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks and Regards J. Ranga Bharath cell: 9110334114 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m314E_%3D73XOe4h45%3DoAKDqDM7%2Bwg0-1nSAH_4dunP3m94FQ%40mail.gmail.com.

