Skip to content

JoinCODED/TASK-Django-M8-Login-View

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's secure our views!

Steps

  1. Fork and clone this repository.
  2. Create a virtual environment.
  3. Install the packages using pip install -r requirements/dev.lock.
  4. Create a login api. This package will help.
    • Create a URL with the name login.
  5. Create a Booking create API view:
    • It should use the same serializer as the update view.
    • The flight should get assigned automatically to the booking. The flight id should be retrieved from the url.
    • The user should get assigned automatically to the booking. The logged in user creating the booking should be assigned as the user.
    • Create a URL with the name book-flight for this view and test it in postman.
  6. Push your code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages