Hi Sameer,

> is it possible to build a dynamic model in run-time in version 1.1 ?

What do you mean by "dynamic"? If you need to define arbitrary
attributes in runtime *and* be able to save them correctly in a RDBMS
*and* be able to restore the object from the DB *and* be able to query
objects by these dynamically added attributes, then you probably want
an implementation of EAV. You can try EAV-Django[1] or some other
approach (e.g. google for Adrian Holovaty's talk on how this problem
is solved in EveryBlock). If you don't need to query objects by
dynamic attributes, try serializing them in a single field, that's
much easier. I just have no idea about your real requirements so I
have to guess and may miss the point.

[1] http://pypi.python.org/pypi/eav-django

--
regards,
Andy

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

Reply via email to