Hi,
I just want to know if django support dynamic fields, that is the
option of not specied the type of field in the model and that user
could specify in application.
I think for examples about an application for doing notes. In one
note, one want to have: title, body, media, etc. but the number of
fields (and its type) is variable. What about something like:
class Note(models.Note):
title = models.CharField(max_length=200)
anything = models.ManyToManyField(DynamicField)
and when user create a class specifies title and adds want he/she
wants (body, pictures, etc. with the type of the field).
Is it possible?
Thanks a lot,
Xan.
PS: Happy new year.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---