Python Django Web Framework 2021 Part 2 | How to create models in a Django for a sample project

Опубликовано: 12 Октябрь 2024
на канале: bctechexpert
35
0

#howto #crearte #Djangomodels in a #django #pythondango #djangorestframework #restframework #pythonprograming #progaramer

Python Django Web Framework 2021 Part 2
In this Django Tutorial, we will be designing our first model in Django. Before we begin with the coding let's talk about what a model is. A model in Django contains fields and specific instructions on how to handle data that will be stored in the database.

Designing Our First Model In Django
Open up your favorite text editor and then open your Django project. Go into your lessons app and open the models.py file. This is where we will be designing our first database field in our Django project.

When you open the models.py file you will see the following. video multiple models creation

Links:-
My YouTube subscribe    / @bctechexpert7340  
Instagram: @bccplife
Patreon:   / bharatchand  
Facebook:   / bctechexpert  
Book a class: https://linktr.ee/bctechexper
email for enquiry: [email protected]