Merge branch 'data_migrations' into treelib_tests
This commit is contained in:
		
						commit
						364fa4df33
					
				
					 3 changed files with 39 additions and 1 deletions
				
			
		
							
								
								
									
										19
									
								
								seminar/migrations/0082_auto_20200506_1951.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								seminar/migrations/0082_auto_20200506_1951.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | ||||||
|  | # Generated by Django 2.2.12 on 2020-05-06 17:51 | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | import seminar.models | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('seminar', '0081_auto_20200408_2221'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AlterField( | ||||||
|  |             model_name='cislo', | ||||||
|  |             name='titulka_nahled', | ||||||
|  |             field=models.ImageField(blank=True, help_text='Obrázek titulní strany, generuje se automaticky', null=True, upload_to=seminar.models.cislo_png_filename, verbose_name='Obrázek titulní strany'), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
							
								
								
									
										19
									
								
								seminar/migrations/0083_auto_20200506_1952.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								seminar/migrations/0083_auto_20200506_1952.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | ||||||
|  | # Generated by Django 2.2.12 on 2020-05-06 17:52 | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | import django.db.models.deletion | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('seminar', '0082_auto_20200506_1951'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AlterField( | ||||||
|  |             model_name='treenode', | ||||||
|  |             name='first_child', | ||||||
|  |             field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='father_of_first', to='seminar.TreeNode', verbose_name='první potomek'), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -1246,7 +1246,7 @@ class TreeNode(PolymorphicModel): | ||||||
| 		blank = False, | 		blank = False, | ||||||
| 		on_delete = models.SET_NULL, # Vrcholy s null kořenem jsou sirotci bez ročníku  | 		on_delete = models.SET_NULL, # Vrcholy s null kořenem jsou sirotci bez ročníku  | ||||||
| 		verbose_name="kořen stromu") | 		verbose_name="kořen stromu") | ||||||
| 	first_child = models.ForeignKey('TreeNode', | 	first_child = models.OneToOneField('TreeNode', | ||||||
| 		related_name='father_of_first', | 		related_name='father_of_first', | ||||||
| 		null = True, | 		null = True, | ||||||
| 		blank = True, | 		blank = True, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Pavel 'LEdoian' Turinsky
						Pavel 'LEdoian' Turinsky