fix
This commit is contained in:
		
							parent
							
								
									fd9026de88
								
							
						
					
					
						commit
						365d1a9a32
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -12,7 +12,7 @@ def fix_all(apps, schema_editor): | ||||||
| 			]: | 			]: | ||||||
| 		Model = apps.get_model('seminar', modelname) | 		Model = apps.get_model('seminar', modelname) | ||||||
| 		ct = ContentType.objects.get_for_model(Model) | 		ct = ContentType.objects.get_for_model(Model) | ||||||
| 		Model.objects.update(polymorphic_ctype_id=ct) | 		Model.objects.update(polymorphic_ctype=ct) | ||||||
| 
 | 
 | ||||||
| class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky