Přidán field s předdeadlinem čísla
This commit is contained in:
		
							parent
							
								
									a80f0c2d34
								
							
						
					
					
						commit
						5065d75cc0
					
				
					 2 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								seminar/migrations/0089_cislo_datum_preddeadline.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								seminar/migrations/0089_cislo_datum_preddeadline.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | ||||||
|  | # Generated by Django 2.2.16 on 2020-10-13 19:40 | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('seminar', '0088_perm_org_a_ucastnik'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name='cislo', | ||||||
|  |             name='datum_preddeadline', | ||||||
|  |             field=models.DateField(blank=True, help_text='Datum pro příjem řešení, která se otisknou v dalším čísle', null=True, verbose_name='datum předdeadline'), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -443,6 +443,9 @@ class Cislo(SeminarModelBase): | ||||||
| 	datum_deadline = models.DateField('datum deadline', blank=True, null=True, | 	datum_deadline = models.DateField('datum deadline', blank=True, null=True, | ||||||
| 		help_text='Datum pro příjem řešení úloh zadaných v tomto čísle') | 		help_text='Datum pro příjem řešení úloh zadaných v tomto čísle') | ||||||
| 
 | 
 | ||||||
|  | 	datum_preddeadline = models.DateField('datum předdeadline', blank=True, null=True, | ||||||
|  | 		help_text='Datum pro příjem řešení, která se otisknou v dalším čísle') | ||||||
|  | 
 | ||||||
| 	datum_deadline_soustredeni = models.DateField( | 	datum_deadline_soustredeni = models.DateField( | ||||||
| 		'datum deadline soustředění', | 		'datum deadline soustředění', | ||||||
| 		blank=True, null=True, | 		blank=True, null=True, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Pavel Turinský
						Pavel Turinský