import my data and generating models.py

21 views
Skip to first unread message

Mohsen Pahlevanzadeh

unread,
Jun 19, 2020, 2:06:11 AM6/19/20
to Django users
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.

RANGA BHARATH JINKA

unread,
Jun 19, 2020, 2:12:40 AM6/19/20
to django...@googlegroups.com

--
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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7dc184da-2dac-4f9a-940c-6ddeefdad86ao%40googlegroups.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

Mohsen Pahlevanzadeh

unread,
Jun 19, 2020, 2:42:05 AM6/19/20
to Django users
You can use ./manage.py  inspectdb
Reply all
Reply to author
Forward
0 new messages