Closed DeD1rk closed 1 month ago
Some steps:
thabloid/api/v2/urls.py
, views.py
and serializers.py
.serializers.py
.views.py
urls.py
.Docs: https://www.django-rest-framework.org/tutorial/3-class-based-views/ and similar pages on that site. Similar code: https://github.com/svthalia/concrexit/blob/9d4d5cdb72bdc1a57679e33c7f6071a9bdfb4b4f/website/photos/api/v2
What?
Make an API for getting Thabloids.
Why?
So the app can have a view to view all thabloids.
How?
Straightforward.