Thanks for all advices, I looked at the objects.values() from the api before and that's what i want. The only problem there is that it will give you back a empty list when there are no values in de DB.
Offcourse there is a option to put some values in the DB to begin with but that's not really a good solution. The other advice Test._meta.fields.keys() is not working because it's a list but if i try Test._meta.fields[0] it will return a object. The question that follows is how can i read the keys from this object. richard --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---