March 2020
Intermediate to advanced
608 pages
17h 17m
English
In this example, we are using a UUID field for the primary key of the Idea model. With this ID, each idea has an un-guessable unique URL. Alternatively, you can use slug fields for URLs, but then you have to make sure that each slug is populated and is unique throughout the website.
In our example, we are using generic class-based views for the listing and reading ideas and function-based views for creating, updating, and deleting them. The views that change the records in the database ...