from __future__ import unicode_literals
from django . db import models , migrations
import django_countries . fields
from tvorba . models import cislo_pdf_filename
class Migration ( migrations . Migration ) :
dependencies = [
( ' seminar ' , ' 0031_cislo_pdf ' ) ,
]
operations = [
migrations . AlterModelOptions (
name = ' soustredeni ' ,
options = { ' ordering ' : [ ' -rocnik__rocnik ' , ' -datum_zacatku ' ] , ' verbose_name ' : ' Soust \u0159 ed \u011b n \xed ' , ' verbose_name_plural ' : ' Soust \u0159 ed \u011b n \xed ' } ,
) ,
migrations . AlterField (
model_name = ' cislo ' ,
name = ' cislo ' ,
field = models . CharField ( help_text = ' V \u011b t \u0161 inou jen " 1 " , vyj \xed me \u010d n \u011b " 7-8 " , lexikograficky ur \u010d uje po \u0159 ad \xed v ro \u010d n \xed ku! ' , max_length = 32 , verbose_name = ' n \xe1 zev \u010d \xed sla ' , db_index = True ) ,
preserve_default = True ,
) ,
migrations . AlterField (
model_name = ' cislo ' ,
name = ' pdf ' ,
field = models . FileField ( help_text = ' Pdf \u010d \xed sla, kter \xe9 si mohou \u0159 e \u0161 itel \xe9 st \xe1 hnout ' , upload_to = cislo_pdf_filename , null = True , verbose_name = ' pdf ' , blank = True ) ,
preserve_default = True ,
) ,
migrations . AlterField (
model_name = ' problem ' ,
name = ' typ ' ,
field = models . CharField ( default = b ' uloha ' , max_length = 32 , verbose_name = ' typ probl \xe9 mu ' , choices = [ ( b ' uloha ' , ' \xda loha ' ) , ( b ' tema ' , ' T \xe9 ma ' ) , ( b ' serial ' , ' Seri \xe1 l ' ) , ( b ' org-clanek ' , ' Organiz \xe1 torsk \xfd \u010d l \xe1 nek ' ) , ( b ' res-clanek ' , ' \u0158 e \u0161 itelsk \xfd \u010d l \xe1 nek ' ) ] ) ,
preserve_default = True ,
) ,
migrations . AlterField (
model_name = ' skola ' ,
name = ' stat ' ,
field = django_countries . fields . CountryField ( default = b ' CZ ' , help_text = ' ISO 3166-1 k \xf3 d zem \u011b velk \xfd mi p \xed smeny (CZ, SK, ...) ' , max_length = 2 , verbose_name = ' st \xe1 t ' ) ,
preserve_default = True ,
) ,
]