Python Django MongoDB CRUD Tutorial | CREATE , READ , UPDATE , DELETE Operation
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- #mongodb #django #djongo
Python Django MongoDB CRUD Tutorial | CREATE,READ,UPDATE,DELETE Operation
Tutorial Cover :
1.How to Insert Document in Mongodb in Django
2.How to Update Document in Mongodb in Django
3.How to Read All Mongodb Document in Django
4.How to Fetch Single Document by _id in Django
5.How to Delete Document in Django
6.CRUD Operation Mongodb Django Example
7.Django MongoDB CRUD Tutorial
8. Insert List of Document in Mongodb in Django
9. Insert Object Document in Mongodb in Django
Tutorial Link : • Python Django MongoDB ...
Join Our Telegram Channel to Stay Updated : t.me/supercoders
Source Code : github.com/hac...
Intro music : / @mikhael_bureau
Thanks
Welcome
It's good and bro how to append json data to only one objectid in mongo using django....when I try appending new data it's creating new objectid ..I need to append to same object
Share your problem on our telegram group with screenshots
i am getting an error at 22:25.. where you add (_id=ObjectId(id)) ..
int() argument must be a string, a bytes-like object or a number, not 'ObjectId'
Share your model code in our telegram group let me check
Hey Buddy, did you got solution to this? I am having the same issue.
try to insert this command: from bson import ObjectId
Not able to use ObjectId(). Where should I import it? Could my version be the problem? Since I'm using latest django?
try to insert this command: from bson import ObjectId
when I created an object in which one field has more than 10000 key it is giving an error in console
django.db.utils.DatabaseError
What is the error
@@SuperCoders thank you for your reply, but my problem got solved!
AttributeError: module 'django.db.models' has no attribute 'ObjectIdField'
when is a using id = models.ObjectIdField() in models ?? any idea??
Did you imported djongo?
@@SuperCoders yes ..I created apps and every thing with that only
thank you soooooo much bro.
Welcome
I will build a database that receives files from the user, can I do it in the same way?
I didn't understand what you are saying
@@SuperCoders I need to set up a Mongodb database that holds the bigdata files uploaded by Users, but I am very confused about how to do this. Can you help me with how to do it?
It's just for mongodb tutorial for big data you need to work lot on this
Nice bro ...helped me 🙂(plz remove that annoying page opening sound nxt time) ✅
Sure i will remove that next time
Bro not able to use django with MongoDB.
When I do migrations it shows
Django isn't an available database backend
And it shows
django.core.exception.ImproperlyConfigured:
Try using MySQL, Oracle, postgres, sqlite3
Bro what to do
Please reply
Check the mongodb django tutorial
Thanks a lot
Welcome
i am not able to use ObjectIdField method.
Share your problem on our telegram group with screenshots
Hi Thanks for nice video.When I wanted to add data from admin panel,I am getting below error.
type object 'User' has no attribute '_default_manager'
Can you please let me know what went wrong
Please share your problem on our telegram group
What is the purpose of installing Django version 2.0? Then uninstalling it. Then installing version 3.05. I have heard that djongo 1.3.2 is not compatible with Django version 3.0.
For using djongo for mongo db you need old version of django
able to post but values not reflecting in mongo db
What is the error
kindly reply anyone
Share your problem on our telegram group already replied
that click sound is irritating.
Removed in latest tutorial
Bro my API's are working but on browser it shows error....the empty path didnt match any of these.
Check the url path i think you miss slash
path( 'add_user/' , views.add_user )
Api is working...inserting in database...but browser shows page not found🤦🏻...
@@vaibhavjadhav8987 join our telegram group and share your problem with screenshots
bhai maza mongodb wrna data retrieve hot nhiy api wrti tuza problem kasa solve zala?
click sound irritates! but good tutorial
Click sound removed in future Tutorials
Sorry sir, but pls remove that page turning sound effect on clicks. Idk it's giving me a headache.
what is background noice
I didn't understand
mouse click .to disturbe
Yes i removed that in future Tutorials
Watching from my phone. The screen is faint, I can't see the codes well
Hi ,
I have a hosted my site with postgres db in heroku and I dont know how to download it in local and check it with the records
Please make a video on it
I don't think you can check database on free version
Unlike for adding background music.
Thanks
background sound is fuckin annoying man. :(
Remove that annoying sound
Already removed in new video