Django as Server

63 views
Skip to first unread message

Gaurav Jindal

unread,
Jan 8, 2016, 5:24:26 AM1/8/16
to Django users
This line was written in the 1st tutorial :
"We’re in the business of making Web frameworks, not Web servers."

Does that mean that Django can be used only for making Web Frameworks?

If not then is there any good tutorial to get started with that, because my aim is to use python at my server which will interact with MongoDB(using pymongo), and satisfy the request from client.
I might be wrong in quoting my need as I am from PHP background, where my PHP script run on apache & also interacts with MySQL. I want this kind of setup only, but this time using Python and MongoDB.

Thanks for help in advance

John 

unread,
Jan 8, 2016, 5:30:33 AM1/8/16
to django...@googlegroups.com
Hi Gaurav,

Django is not “used to create” web frameworks. Django “is” a web framework. It has a included “web server” only for development purpose. They focus on django itself, so they do not work as much on the development web server included. 

Thats why we use nginx, gunicorn, and so on when deploying on production.

Hope u get it!

Cheers

 John

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/abef6e1d-10fd-4d6d-889a-6e083fb1d9f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ADEWALE ADISA

unread,
Jan 10, 2016, 10:15:53 AM1/10/16
to django...@googlegroups.com

Yes, django can interract with your mongodb and also serve  client request.

--
Reply all
Reply to author
Forward
0 new messages