Connect MongoDB with Django project using PyMongo | Complete Guide to MongoDB CRUD Operations

Поділитися
Вставка
  • Опубліковано 6 лис 2024
  • ➽ Subscribe ➽ / @CodingWithKazim 🔔 Stay updated!
    Unlock the power of MongoDB integration in your Django projects with PyMongo! In this comprehensive tutorial, I’ll guide you step-by-step through the process of connecting MongoDB to your Django project, allowing you to perform powerful CRUD operations seamlessly.
    #mongodb #django #database #crud #pymongo #djongo #mongodbconnection

КОМЕНТАРІ • 48

  • @smartstableequipment240
    @smartstableequipment240 9 місяців тому +6

    First video which I saw with basics. Thank you! Now I know what is the aim of PyMongo & MongoDB

    • @CodingWithKazim
      @CodingWithKazim  9 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @uchesamuelottah559
    @uchesamuelottah559 Рік тому +1

    Straight to the point, no BS, exactly what i needed to get started.
    Thank you

    • @CodingWithKazim
      @CodingWithKazim  Рік тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @biplabmondal-vb5oo
    @biplabmondal-vb5oo Рік тому +1

    100% genuine and accurate tutorial on UA-cam. Thanks a lot for this valuable content. I'll save this video for future use. Please don't remove or private this video.

    • @CodingWithKazim
      @CodingWithKazim  Рік тому

      Thanks. Glad to know it helped.
      Please consider subscribing to the channel for more awesome content.

  • @mrityunjoysaha2060
    @mrityunjoysaha2060 Місяць тому

    Thank you for correct information and clearing the doubts about djongo

    • @CodingWithKazim
      @CodingWithKazim  Місяць тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @natashasen3548
    @natashasen3548 2 місяці тому

    Simple and straightforward explanation. Thanks a lot. It really helps a lot.

    • @CodingWithKazim
      @CodingWithKazim  2 місяці тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @joaoafonso9087
    @joaoafonso9087 9 місяців тому +2

    why can't i do "python manage.py migrate", i get: django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

    • @CodingWithKazim
      @CodingWithKazim  8 місяців тому

      It appears that the error message you're encountering is related to improperly configured database settings in your Django project. Ensure that you have properly configured the DATABASES setting in your Django project's settings file (settings.py). Specifically, make sure you have defined the ENGINE value for your database connection.
      The ENGINE value depends on the database you used. For example for PostgreSQL database it's 'django.db.backends.postgresql_psycopg2' and it varies with changes in DB.

    • @joaoafonso9087
      @joaoafonso9087 8 місяців тому

      @@CodingWithKazim yes, in the mean time, i managed to solve it thanks anyway !

    • @CodingWithKazim
      @CodingWithKazim  8 місяців тому

      @@joaoafonso9087 That's great. Glad to hear!

  • @muhannadalulaby8727
    @muhannadalulaby8727 11 місяців тому

    Great tutorial and great explanation. the only source that actually made the thing work

    • @CodingWithKazim
      @CodingWithKazim  11 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @drishya8925
    @drishya8925 2 дні тому

    i love you thankyou sm for this tutorial

    • @CodingWithKazim
      @CodingWithKazim  2 дні тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @dhanalaxmikarnati6905
    @dhanalaxmikarnati6905 Рік тому +1

    Thank you so much sir.....u helped me alot for my project

    • @CodingWithKazim
      @CodingWithKazim  Рік тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @sasindudilshan6679
    @sasindudilshan6679 8 місяців тому

    thank you very much sir! exactly this is what i looking for

    • @CodingWithKazim
      @CodingWithKazim  8 місяців тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

    • @sasindudilshan6679
      @sasindudilshan6679 8 місяців тому

      @@CodingWithKazim if i get some knowledge from someone in YT, i don't forget to subscribe. So, subscribed!

    • @CodingWithKazim
      @CodingWithKazim  8 місяців тому +1

      @@sasindudilshan6679 That's so kind of you, thanks.

  • @noscopedemon4308
    @noscopedemon4308 2 місяці тому

    do we need to create a connection file for each django app?

  • @amanbaghel1104
    @amanbaghel1104 9 місяців тому

    Clear like a CRYSTAL

    • @CodingWithKazim
      @CodingWithKazim  9 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @smkop393
    @smkop393 Місяць тому

    Good 👍🏻👍🏻

    • @CodingWithKazim
      @CodingWithKazim  Місяць тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @MyanmaHan
    @MyanmaHan Рік тому

    Thanks you sir, and pls continue to display mongodata in django website

    • @CodingWithKazim
      @CodingWithKazim  Рік тому +2

      Thanks, Surely will do.
      Please consider subscribing to the channel.

  • @orange362
    @orange362 6 місяців тому +1

    please tell me where will i find the new connection in the mongodb compass

    • @CodingWithKazim
      @CodingWithKazim  6 місяців тому

      In MongoDB Compass, you can find the option to create a new connection in the "Connect" tab. Simply click on "New Connection" and fill in the necessary details such as the connection name, host, port, and authentication credentials if required. Once filled, click "Connect" to establish the connection to your MongoDB database.
      Hopefully this will help.

  • @Mjj588
    @Mjj588 10 місяців тому

    It really helped a lot thank you so much ❤

    • @CodingWithKazim
      @CodingWithKazim  10 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos

  • @jaspreetdhillon3847
    @jaspreetdhillon3847 11 місяців тому +1

    why my file not run it is showing that import pymongo is partially initialised? please solve my problem

    • @CodingWithKazim
      @CodingWithKazim  11 місяців тому

      Ensure you have installed the 'pymongo' library using 'pip install pymongo'. If the issue persists, check for typos in your import statement and verify your MongoDB connection configuration. Restart your Django server after making changes.

  • @edwarddesouz7350
    @edwarddesouz7350 10 місяців тому

    Really helpful brother

    • @CodingWithKazim
      @CodingWithKazim  10 місяців тому

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

  • @dalelloussaief4373
    @dalelloussaief4373 9 місяців тому

    It really helped a lot thank you so much

    • @CodingWithKazim
      @CodingWithKazim  9 місяців тому +1

      Glad to know it helped 🎊
      Please consider subscribing to the channel for more awesome videos.

    • @dalelloussaief4373
      @dalelloussaief4373 8 місяців тому

      done can you do a video CRUD and API django and thanks so mush @@CodingWithKazim

  • @syedhasnainraza290
    @syedhasnainraza290 11 місяців тому

    I worked. Thanks

  • @jehovahmbote3048
    @jehovahmbote3048 Рік тому

    Thank you very much for this video it is really very clear and simple to understand. Can you make a video on how to create a superuser

    • @CodingWithKazim
      @CodingWithKazim  Рік тому

      Glad to know it helped. You can support me by subscribing to the channel.
      For sure, I will create a video on this topic. But for now, you just need to run this command at the root directory in your terminal.
      *‘python manage.py createsuperuser’*
      It will then ask you to enter the email and password for your superuser. After adding it superuser will be successfully created.

    • @jehovahmbote3048
      @jehovahmbote3048 Рік тому

      @@CodingWithKazim Thanks i will try it.
      I would also like to know how to create and authenticate a user with pymongo