Django 3 : Creating objects

Step 1 We can create the records in the UserProfile model as follows:

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.