Updating a model instance
Step 1Updating the existing data is very simple. We have already seen what it takes to be able to do so. The following is an example where it modifies the first profile:
Step 2 : The code template
Step 3 : Now start the development server with the python manage.py runserver command and open http://127.0.0.1:8000/page/ in your browser.
Updating multiple records
Step 3 : To edit multiple records in one shot, you must use the update() method with a queryset object type