|
|
@ -91,7 +91,7 @@ class Galerie(models.Model): |
|
|
|
zobrazit = models.IntegerField('Zobrazit?', default = ORG, choices = VIDITELNOST) |
|
|
|
galerie_up = models.ForeignKey('Galerie', blank = True, null = True) |
|
|
|
soustredeni = models.ForeignKey(Soustredeni, blank = True, null = True) |
|
|
|
poradi = models.IntegerField('Pořadí', blank = True, null = True) |
|
|
|
poradi = models.IntegerField('Pořadí', blank = True, null = False, default = 0) |
|
|
|
|
|
|
|
def __unicode__(self): |
|
|
|
return self.nazev |
|
|
|