- Read the guideline before start
In this task, you will implement a custom form and django built-in forms to create, update or delete content from the site.
- Implement:
Create
,Update
,Delete
views forCar
,Create
,Update
,Delete
views forManufacturer
,Create
,Delete
views forDriver
,
- On the driver list page create a button that leads to the driver creation page.
- Create a driver's license update page. The form on this page must check that
license:
- Consist only of 8 characters
- First 3 characters are uppercase letters
- Last 5 characters are digits
- On the driver detail page add buttons that lead to the driver's license updating page and driver deletion page.
- On the car list page add button that leads to the car creation page. On the car detail page add buttons that lead to the car update page and car deletion page.
- On the manufacturer list page, add the button that leads to the manufacturer creation
page. Also, add columns
Update
,Delete
, and add links for the updating page and deletion page for each manufacturer. - On the car detail page add button
Assign me to this car
. This button adds current user to car drivers. When current user is already a driver of this car, there should beDelete me from this car
button that deletes user from car drivers.
The car detail page should look like this:
NOTE: Attach screenshots of all created or modified pages to pull request. It's important to attach images not links to them.