(Reading time: 2 - 3 minutes)

Install djongo

 
 
 
pip install djongo
 
 
 

 

Create your project dir

 
 
 
mkdir chillzeeTest
 
 
 

 

Go to your project directory and set up django project.

 
 
 
cd chillzeeTest
 
 
django-admin startproject ChillzeeTestSite
 
 
 

Five Minutes Technology - Using MongoDB with Django framework via Djongo

 

Edit settings.py and update database settings.

 
 
 
DATABASES = {
 
 
    'default': {
 
 
        'ENGINE': 'djongo',
 
 
        'NAME': 'chillzeeproject',
 
 
    }
 
 
}
 
 
 

Five Minutes Technology - Using MongoDB with Django framework via Djongo

 

Run the following command to apply database changes to your django project

 
 
 
python manage.py migrate
 
 
 

 

Visit http://127.0.0.1:8000/ to make sure that your django project is up and running

 

Go to MongoDB and see if the database has been created by django.

 
 
 
show dbs
 
 
 

Five Minutes Technology - Using MongoDB with Django framework via Djongo

 

In our example, django has created the chillzeeproject database.

We will now see the collections to make sure that every thing went fine.

 
 
 
use chillzeeproject
 
 
show collections
 
 
 

Five Minutes Technology - Using MongoDB with Django framework via Djongo

 

Now you can update your models.py file to work on your new mongoDB database, just as you would do with any other database like postgres or mysql.

So that’s it friends! As you could see connecting MongoDB to django has become much simpler now.

Long live open source community!

Oxygen
Author: Oxygen
Other articles by this author


Add comment

Security code
Refresh

Comments  

0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesLilly 2019-04-17 09:28
My education budget should be 10-15% of my monthly income.
The article does not likely need being long. There are over 4 billion a person who
have access to the Internet through computers and cell the radio.


Also visit my blog: www joker123
download: http://navigationdrone.com/__media__/js/netsoltrademark.php?d=918kiss.bid%2Fgames%2Fjoker-123
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesDulcie 2019-04-26 22:43
Don't direct all your care about the keyword thing.
Online salespeople will strive to generate interest inside their website.

The best article in the world will not be read if nobody can discover
it.

my web site mega casino bingo blast: http://www.highendproducts.com/__media__/js/netsoltrademark.php?d=navajorug.biz%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3D918kiss.bid%2Fdownloads%2F216-download-mega888-for-android-and-ios
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesBessie 2019-05-06 10:20
At the same time, I'm currently selling other niche marketing courses when i have re-sale rights
to. Use that energy to inspire yourself made more unique articles.
Make sure to cover your website in your video.


my weblog; playboy casino: https://918kiss.bid/downloads/217-download-playboy
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesWilbur 2019-05-08 06:44
Another to help make typically through couple of. As long as you can write grammatically correct, helpful, interesting content, marketing your care.
Target the appropriate niches from your category.

My weblog; mega888 casino: https://918Kiss.bid/downloads/216-download-mega888-for-android-and-ios
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesChadwick 2019-05-08 16:56
You will be frustrated at times, overwhelmed and be throwing a towel.
Put your target audience on surface of your priority list when writing your
blogposts.

my web site; scr 888: https://918kiss.bid/games/918kiss-scr888
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesBlake 2019-05-10 19:28
Now wish to to generate traffic for any website
so customers are fully aware about your wonderful solutions.

Numbers within a URL generally do not create a semi-pro image.
You need comprehend what oodles of flab .
to optimize.

My webpage m.2.

pci express slot: http://Www.google.bf/url?sa=t&rct=j&q=root+megemon+delay+viagra&source=web&cd=1&ved=0cceqfjaa&url=http://918kiss.bid/games/lpe888
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesFloy 2019-05-15 10:17
Links using websites aimed at your blog or blog are significant.
Software usually comes with a working computer when you purchase it.
All big-name bloggers started just your own did - from quite.


my web blog ... scr 888: http://Scr888.pw/
Reply | Reply with quote | Quote
0 # Five Minutes Technology - Using NoSQL(MongoDB) with django framework via djongo - Step by step tutorial with video and imagesArlen 2019-05-15 11:53
You can click "File->Add PDF Files" or directly drag the files for the panel.
You wish to pull the names and addresses from PDF
table, and edit or customize the data. What minus a password reset disk under that circumstance?


Also visit my website 918kiss free id: http://www.webbookcity.com/2019/why-to-purchase-scr888-online-casino-game-in-traffic/
Reply | Reply with quote | Quote

Similar articles

Chillzee Tag Cloud

Let's Socialize

About Chillzee

Chillzee.com is an entrepreneurship portal.

The site provides informative topics on Organizational and Strategic needs.