Using Models in Django-Rest Framework
you don't need to use models, but you really should. django's ORM (the way it handles reading/writing to databases) functionality is fantastic and really useful. 
if you're executing raw sql statements all the time, you either have a highly specific case where django's functions fail you, or you're using django inefficiently and should rethink why you're using django to begin with.
I am new to Django-Rest Framework and I wanted to develop API calls.
I am currently using Mysql database so if I have to make changes in the database, do I have to write models in my project or Can I execute the raw data operation onto my database.
Like:
This is my urls.py file which contains a list of URLs and if any of the URL is hit
it directly calls to view function present in views.py file and rest I do the particular operation in that function, like connecting to MySQL database, executing SQL queries and returning JSON response to the front end.
Is this a good approach to making API calls? If not Please guide me.
Any advice or help will be appreciated.