Re: model objects question

2007-09-23 Thread Oleg Korsak
but Country class doesn't have such field 'tour' ! ;/ Alex Koshelev пишет: > class Country(models.Model): > #... > class Meta: > ordering = ('name','tour',) > > On 23 сент, 03:47, Oleg Korsak <[EMAIL PROTECTED]> > wrote: >> Hello. I have such models: >> >> class C

Re: model objects question

2007-09-22 Thread Alex Koshelev
class Country(models.Model): #... class Meta: ordering = ('name','tour',) On 23 сент, 03:47, Oleg Korsak <[EMAIL PROTECTED]> wrote: > Hello. I have such models: > > class Country(models.Model): > name = models.CharField(_('name'), maxlength=32) > >

model objects question

2007-09-22 Thread Oleg Korsak
Hello. I have such models: class Country(models.Model): name = models.CharField(_('name'), maxlength=32) def __unicode__(self): return self.name class Meta: verbose_name = _('country') verbose_name_plural = _('countr