Django Coding Tasks
You have at most 72 hours to complete the following challenge.
Fantasy Football XI API
Create a fantasy fooballer's API application using DRF.
Requirements
Level 1
Create two models
Footballer
andClub
.Footballer
should have a first name, nick name, last name, date of birth, position, number, value and club.The
Club
should have name, country and division.Create
views
for both models that perform CRUD operations i.e Create, Read, Update, Delete.Make the
urls
for the views you created.
Level 2
- (OPTIONAL) Add documentation using drf spectacular
This assignment will help you practice implementing a simple API using DRF, and additionally, adding documentation.