Thursday, March 22, 2012

implement form for listfield

hi,
I'm using mongodb as my database and djangomongodb engine for the orm layer.

I have a basic model let say 'A' which I can use in admin module and
objects in db
than
I have another model which has a field like this

class B
fieldname ListField(EmbeddedModelField('A'))

the problem is that when I try to add objects for model B , it says I
have not implemented forms for diplaying listfield which is a normal
error .

I am new to django and mongodb so I wanted to discuss how to approach
these kind of problems or are there any solutions already available
for this .. since I feel I will be encountering this kind of problems
in future as well

thanks

--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate