Re: import my data and generating models.py

2020-06-18 Thread Mohsen Pahlevanzadeh
On Friday, June 19, 2020 at 10:36:11 AM UTC+4:30, Mohsen Pahlevanzadeh 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

Re: import my data and generating models.py

2020-06-18 Thread RANGA BHARATH JINKA
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 < m.pahlev

import my data and generating models.py

2020-06-18 Thread Mohsen Pahlevanzadeh
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" gro