Odstrel Modelu Odevzdavatko #64
					 2 changed files with 30 additions and 4 deletions
				
			
		
							
								
								
									
										30
									
								
								odevzdavatko/migrations/0002_manage.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								odevzdavatko/migrations/0002_manage.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | ||||||
|  | # Generated by Django 4.2.13 on 2024-10-23 21:07 | ||||||
|  | 
 | ||||||
|  | from django.db import migrations | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('odevzdavatko', '0001_create'), | ||||||
|  |         ('seminar', '0134_delete_odevzdavatko'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AlterModelOptions( | ||||||
|  |             name='hodnoceni', | ||||||
|  |             options={'verbose_name': 'Hodnocení', 'verbose_name_plural': 'Hodnocení'}, | ||||||
|  |         ), | ||||||
|  |         migrations.AlterModelOptions( | ||||||
|  |             name='prilohareseni', | ||||||
|  |             options={'ordering': ['reseni', 'vytvoreno'], 'verbose_name': 'Příloha řešení', 'verbose_name_plural': 'Přílohy řešení'}, | ||||||
|  |         ), | ||||||
|  |         migrations.AlterModelOptions( | ||||||
|  |             name='reseni', | ||||||
|  |             options={'ordering': ['-cas_doruceni'], 'verbose_name': 'Řešení', 'verbose_name_plural': 'Řešení'}, | ||||||
|  |         ), | ||||||
|  |         migrations.AlterModelOptions( | ||||||
|  |             name='reseni_resitele', | ||||||
|  |             options={'ordering': ['reseni', 'resitele'], 'verbose_name': 'Řešení řešitelů', 'verbose_name_plural': 'Řešení řešitelů'}, | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -24,7 +24,6 @@ class Reseni(bm.SeminarModelBase): | ||||||
| 		verbose_name_plural = 'Řešení' | 		verbose_name_plural = 'Řešení' | ||||||
| 		#ordering = ['-problem', 'resitele']	# FIXME: Takhle to chceme, ale nefunguje to. | 		#ordering = ['-problem', 'resitele']	# FIXME: Takhle to chceme, ale nefunguje to. | ||||||
| 		ordering = ['-cas_doruceni'] | 		ordering = ['-cas_doruceni'] | ||||||
| 		managed = False |  | ||||||
| 
 | 
 | ||||||
| 	# Interní ID | 	# Interní ID | ||||||
| 	id = models.AutoField(primary_key = True) | 	id = models.AutoField(primary_key = True) | ||||||
|  | @ -94,7 +93,6 @@ class Hodnoceni(bm.SeminarModelBase): | ||||||
| 		db_table = 'seminar_hodnoceni' | 		db_table = 'seminar_hodnoceni' | ||||||
| 		verbose_name = 'Hodnocení' | 		verbose_name = 'Hodnocení' | ||||||
| 		verbose_name_plural = 'Hodnocení' | 		verbose_name_plural = 'Hodnocení' | ||||||
| 		managed = False |  | ||||||
| 
 | 
 | ||||||
| 	# Interní ID | 	# Interní ID | ||||||
| 	id = models.AutoField(primary_key = True) | 	id = models.AutoField(primary_key = True) | ||||||
|  | @ -190,7 +188,6 @@ class PrilohaReseni(bm.SeminarModelBase): | ||||||
| 		verbose_name = 'Příloha řešení' | 		verbose_name = 'Příloha řešení' | ||||||
| 		verbose_name_plural = 'Přílohy řešení' | 		verbose_name_plural = 'Přílohy řešení' | ||||||
| 		ordering = ['reseni', 'vytvoreno'] | 		ordering = ['reseni', 'vytvoreno'] | ||||||
| 		managed = False |  | ||||||
| 
 | 
 | ||||||
| 	# Interní ID | 	# Interní ID | ||||||
| 	id = models.AutoField(primary_key = True) | 	id = models.AutoField(primary_key = True) | ||||||
|  | @ -226,7 +223,6 @@ class Reseni_Resitele(models.Model): | ||||||
| 		verbose_name = 'Řešení řešitelů' | 		verbose_name = 'Řešení řešitelů' | ||||||
| 		verbose_name_plural = 'Řešení řešitelů' | 		verbose_name_plural = 'Řešení řešitelů' | ||||||
| 		ordering = ['reseni', 'resitele'] | 		ordering = ['reseni', 'resitele'] | ||||||
| 		managed = False |  | ||||||
| 
 | 
 | ||||||
| 	# Interní ID | 	# Interní ID | ||||||
| 	id = models.AutoField(primary_key = True) | 	id = models.AutoField(primary_key = True) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue