Monday, November 26, 2012

Re: Django MongoDB

Hi guys

thank you Yati, this really help me. Will check right away.

Cheers

On Mon, Nov 26, 2012 at 2:32 AM, yati sagade <yati.sagade@gmail.com> wrote:
Hi. I've used django-nonrel for interfacing with the Google datastore on appengine and I use mongoengine for the rest. I guess mongoengine is the recommended way to work with mongodb on django. I've set up a small example, a Twitter clone that uses mongoengine. The app can be deployed on OpenShift, but the source should give you a clear view of what's going on. Check it out here. The app is called twtapp. Look into settings.py to see how the mongodb connection is established there. Then take a took at twtapp/documents.py to see how to define documents (these are the mongodb equivalents of "models"). Then hack around to see how it all works. You can also deploy this app on openshift to see it running in the cloud.  It really is very simple :)

Regards


On Sun, Nov 25, 2012 at 10:14 PM, Carlos Aguilar <darkangel51@gmail.com> wrote:
You know which mongoengine and django-nonrel are 2 different libraries for mongodb???

Please select one and use it, but not both.

Best Regards

--
Carlos Aguilar
Consultor Hardware y Software
DWD&Solutions
http://www.dwdandsolutions.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Yati Sagade

Software Engineer at mquotient

Twitter: @yati_itay | Github: yati-sagade

Organizing member of TEDx EasternMetropolitanBypass
http://www.ted.com/tedx/events/4933
https://www.facebook.com/pages/TEDx-EasternMetropolitanBypass/337763226244869


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Quiñones Victor Manuel
Tel: +54 0362 15 4 880839
Resistencia - 3500
Argentina

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment