Hi,
right now I'm working on one model and it looks like this class Area(models.Model): region = models.CharField(max_length = 2, choices = SLOVAK_REGION_CHOICES, radio_admin = True, db_index = True, blank = True, null = True) city = models.CharField(max_length = 4, choices = SLOVAK_DISTRICT_CHOICES, db_index = True) def __str__(self): return '%s:' '%s' %(self.region, self.city) class Admin: list_display = ('region', 'city') class JobOffer(ATag): created = models.DateTimeField(_('created'), default = datetime.datetime.now) changed = models.DateTimeField(_('changed'), default = datetime.datetime.now) name = models.CharField(_('name'), max_length=80, core = True) company = models.ForeignKey(Company) loc = models.ManyToManyField(Area) ....... And I wanna display field "loc" in Admin's list_display (region and also city field for created model), but that's impossible because it's ManyToManyField and only way to do that is to write down proper method...and that's the problem. Just can't figure it out :( Can anybody please help me? Thanks a lot!!! -- View this message in context: http://www.nabble.com/ManyToManyField-in-Admin-list_display-tp18245816p18245816.html Sent from the django-users mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---