Change compilemessages command

2009-10-20 Thread urukay


Hi folks,

is there a plan to change command compilemessages, so it will ignore
duplicity translations? In my native language it's necessary to have more
than one translation for particular string.

Radovan 
-- 
View this message in context: 
http://www.nabble.com/Change-compilemessages-command-tp25975917p25975917.html
Sent from the django-developers mailing list archive at Nabble.com.


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



ManyToManyField in Admin list_display

2008-07-02 Thread urukay


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, 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-tp18241702p18241702.html
Sent from the django-developers mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~--~~~~--~~--~--~---