Deploying the Django Web Site to a Production Server

Explaining the full deployment process is outside the scope of this
article, but I want to give some useful tips. When you try to run your
Django project on a production server, keep the following things
in mind:

Why Use MongoDB Instead of a Relational Database?

You may wonder why you should use a NoSQL database, such as MongoDB, instead of a
traditional DBMS like MySQL or PostgreSQL. Although it would be possible to
use a relational database, here are the reasons for preferring MongoDB:

MongoDB is generally faster.

MongoDB is better for high-volume traffic sites.

MongoDB supports sharding. Sharding (aka horizontal partitioning) is
the process of separating a single database across a cluster of machines.

MongoDB supports replication.

Your data schema may change without downtime when using MongoDB.

Depending on the application, it may feel more natural to develop in a
document-oriented database.

MongoDB has an easy-to-use protocol for storing large files and file
metadata called GridFS.

Summary

As I've explained here, MongoDB and Django can indeed work together.
However, two things are
missing to be 100% Django-native: support for the Django Admin Panel and
support for the syncdb command.

A link to the full code for this project is listed in the Resources section of
this article.

Acknowledgement

I would like to thank Josh Ourisman for answering some questions that I
had while writing this article.

Sponsored by:

Geek Guides

Pick up any e-commerce web or mobile app today, and you’ll be holding a mashup of interconnected applications and services from a variety of different providers. For instance, when you connect to Amazon’s e-commerce app, cookies, tags and pixels that are monitored by solutions like Exact Target, BazaarVoice, Bing, Shopzilla, Liveramp and Google Tag Manager track every action you take. You’re presented with special offers and coupons based on your viewing and buying patterns. If you find something you want for your birthday, a third party manages your wish list, which you can share through multiple social- media outlets or email to a friend. When you select something to buy, you find yourself presented with similar items as kind suggestions. And when you finally check out, you’re offered the ability to pay with promo codes, gifts cards, PayPal or a variety of credit cards.