|
@ -631,7 +631,7 @@ class Novinky(models.Model): |
|
|
zverejneno = models.BooleanField('Zveřejněno', default="False") |
|
|
zverejneno = models.BooleanField('Zveřejněno', default="False") |
|
|
|
|
|
|
|
|
def __str__(self): |
|
|
def __str__(self): |
|
|
return '[' + self.datum + '] ' + self.text[0:20] |
|
|
return '[' + str(self.datum) + '] ' + self.text[0:50] |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|
verbose_name = 'Novinka' |
|
|
verbose_name = 'Novinka' |
|
|