Add record in Django model | Python

Опубликовано: 14 Октябрь 2024
на канале: SkillsHats
295
6

In this video, We learn how we can add records into the Django models using Django shell.

To create record in Django:
Model.objects.create(**fields)

Django Shell
python manage.py shell

👍 If you enjoyed this content, give the video a like. If you want to watch more upcoming videos, consider subscribing to the channel! →    / @skillshats  

🛝 DJANGO PLAYLIST:
   • Django  

🎬 RECOMMENDED VIDEOS:
Django Models:
→    • Add record in Django model | Python  
→    • Add record in Django model | Python  
→    • Update & Delete record in Django Mode...  

䷐ FOLLOW US:
Website: https://skillshats.com
Twitter:   / skillshats  

🏷 TAGS:
#python #django #django-models

Thanks!!
Enjoy 🤗