Thank you Alan and Massimo and others. I didn't realize mongodb adaptor
support reference field. My bad.
Thanks for all the help guys.
On Thursday, May 7, 2015 at 9:59:58 AM UTC-4, Alan Etkin wrote:
>
> I did not check the django app code but if you want to handle embedded
> json objects you s
I did not check the django app code but if you want to handle embedded json
objects you should use table definitions with a json field.
Something like
db.define_table("mytable", Field("embeddedobject", "json") # db is a
mongodb connection (DAL instance)
--
Resources:
- http://web2py.com
- htt
Below is what I have the model in django. I can do the ListField() in
web2py using "list:string" I believe but I am having problem with how to do
EmbeddedModelField! in web2py. I don't understand what you mean by "do it
independently of backend"! Do you mean to insert the table in mongodb
indep
I don't see any problem at all in implementing a common post-comment page
in web2py.
You can code it independently from the backend.
On Wednesday, May 6, 2015 at 8:28:08 PM UTC+2, Ron Chatterjee wrote:
>
> Here is another tutorial from django:
>
>
> *http://docs.mongodb.org/manual/tutorial/write
Here is another tutorial from django:
*http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-django-mongodb-engine/*
Pretty cool. Wondering if we can have a web2py version implementing the
same with mongodb. Any thoughts any one?
On Tuesday, May 5, 2015 at 4:49:08 PM U
I was wondering about creating an object inside an object. As shown in the
link above:
{
'created_on': ISODate('...'),
'author' : {
'name': 'Bob',
'email': 'b...@example.org'
},
'text' : 'The cake is a lie'}
instead of that dict someone can also write it as:
{
'created_on
Actually DAL have experimental mongodb support.
You can
see
http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://
7 matches
Mail list logo