korektury | trizeni souboru od nejmladsiho
This commit is contained in:
		
							parent
							
								
									576d7a3c12
								
							
						
					
					
						commit
						f4da10f9fa
					
				
					 2 changed files with 19 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								korektury/migrations/0009_trizeni_korektur_v_seznamu.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								korektury/migrations/0009_trizeni_korektur_v_seznamu.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| # -*- coding: utf-8 -*- | ||||
| from __future__ import unicode_literals | ||||
| 
 | ||||
| from django.db import migrations, models | ||||
| 
 | ||||
| 
 | ||||
| class Migration(migrations.Migration): | ||||
| 
 | ||||
|     dependencies = [ | ||||
|         ('korektury', '0008_auto_20151229_1556'), | ||||
|     ] | ||||
| 
 | ||||
|     operations = [ | ||||
|         migrations.AlterModelOptions( | ||||
|             name='korekturovanepdf', | ||||
|             options={'ordering': ['-cas'], 'verbose_name': 'PDF k oprav\xe1m', 'verbose_name_plural': 'PDF k oprav\xe1m'}, | ||||
|         ), | ||||
|     ] | ||||
|  | @ -23,6 +23,7 @@ def generate_filename(self, filename): | |||
| #@python_2_unicode_compatible | ||||
| class KorekturovanePDF(models.Model): | ||||
|     class Meta: | ||||
|         ordering = ['-cas'] | ||||
|         db_table = 'korekturovane_cislo' | ||||
|         verbose_name = u'PDF k opravám' | ||||
|         verbose_name_plural = u'PDF k opravám' | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha