Database setup

22 views
Skip to first unread message

Soumen Khatua

unread,
May 10, 2019, 10:59:40 AM5/10/19
to django...@googlegroups.com
Hi Folks,

I have one existing table in my database then how I can use the same table in my models.py.

Thank You. 

Lucas G. Navarro

unread,
May 10, 2019, 3:22:20 PM5/10/19
to django...@googlegroups.com
Hi Soumen, i think that what you need is this  [1] 

Regards!

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6WakznFSEwPXtisj9rz782HEKxEDVE10GC1nNtEL7dGMOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Devender Kumar

unread,
May 13, 2019, 6:38:50 AM5/13/19
to Django users
You need to make model for that where managed = false in class meta of the model. 
even you can generate complete table model from the db.
Reply all
Reply to author
Forward
0 new messages