Skip to content

alhusamia/REST_task_05

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Setup a virtual environment.
  2. Fork the repository for Django REST Task 5 in JoinCODED’s Github and Clone it.
  3. Install the packages from the requirements file.
  4. Modify the BookingsList view so that it returns the list of upcoming bookings that belong to the logged in user.
  5. Modify the UpdateBooking view so that admins can modify both passengers and date while normal users can only modify passengers.
    • Hint: You will need to override a method. Use this as a reference.
  6. Test both apis in postman.
  7. Push your code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%