Monday, May 25, 2020

Can we use Database with Django without creating models

Hi Team,

I am trying to get options to connect to Database from Python-Django App.
But here the requirement is I already have a Database setup (MySQL) with all required tables and fields.
So am not willing to use models.py and create tables.
Is there a way still i can use the tables... and still be able to do similar query which is done using ORM (i mean Django default querysets).

Please suggest.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ea4fdb96-0462-40ad-aec1-6bf1318cb0fd%40googlegroups.com.

No comments:

Post a Comment