I am fairly new to Django and have some requirements that involve creating a Django application to be the front end for an API server.
This app should have little need to ever store data in a local database. Instead, we are to access a REST API to get and post data.
Being less familiar with the framework, where should I be placing the logic for getting and manipulating data on the remote API? My initial thought was to place this into the models.py file, but models seem to be designed specifically for database access in Django.
So then I placed request calls in my form classes's get/post functions. However, this seems like I am mixing up the data logic with the views. Also, I noticed that reloading pages after posting a form would result in the form containing the original GET request for the form until I restarted the server.
It appears that I should be placing this logic elsewhere, but I'd like someone to explain what is "standard" in this context.
I am sure I not the first person to encounter this and would like some direction on how other projects handle this in Django. Thank you for your guidance.