As a user, I would like to edit/update a lodging location that I am planning to stay at
Acceptance Criteria
Endpoint URL: '/lodging/{id}`
When the user selects the edit button, a lodging form will be rendered. Once the form has been submitted, they will be able to update the lodging location
User Story
As a user, I would like to edit/update a lodging location that I am planning to stay at
Acceptance Criteria
When the user selects the edit button, a lodging form will be rendered. Once the form has been submitted, they will be able to update the lodging location
Dependencies
Testing the endpoint is dependent on Django setup
Dev Notes
Change can be viewed in sqlite3
id
- the ID of the lodging location[primary key]
trip_id
- the ID of the trip[foreign key]
address
- the address of where you are stayingcity
- the city of where you are stayinglength_of_stay
- how long you are staying