Create/activate a virtual environment - Unix-based system
Install Django (the latest stable version)
Create a new Django Project
.at the end of the command.
Setup the database
Start the app
Create a new Django app
Visualize the default SQL settings -
sampleapplication. The below changes should be added to
__str__()method for the
adminsection out-of-the-box that allows us to manage with ease all models defined in the project. To manage the
Bookmodel in the administration console we need to create a
superuser(aka the admin) and after
Bookmodel to be visible in the admin section.
Create the superuser
Bookmodel to be visible in the
adminsection - Edit
Authenticate as admin -
Booksmodel in the UI and able to execute CRUD operations.