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.
On Friday, May 10, 2019 at 8:29:40 PM UTC+5:30, Soumen Khatua wrote: > > Hi Folks, > > I have one existing table in my database then how I can use the same table > in my models.py. > > Thank You. > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/b72208ad-4983-426b-8de3-664b4ba0a960%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.