Why would you need to do this?? The question as you've phrased it doesn't make any sense... Ben
On 10/10/2007, xunSir <[EMAIL PROTECTED]> wrote: > > > class Address(models.Model): > name = models.CharField('uname', maxlength=20, unique=True) > mobile = models.CharField('umobile', maxlength=11) > room = models.CharField('uroom', maxlength=10) > > class Admin: > list_display = ('name', 'mobile', 'room') > ============================================= > objs = Address.objects.all() > > How to get : > 1 ['name', 'mobile', 'room'] > 2 ['uname', 'umobile', 'uroom'] > 3 {'name':'uname', 'mobile':'umobile', 'room':'uroom'} > > Address's attributes are unfixed. > > "Class Amdin" let those come ture, but I am blind to see the English. > > ~~ > Thanks. > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +6281317958862 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---