mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.
Backport of 06d34aab7c from master
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			413 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			413 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.db import migrations
 | |
| 
 | |
| 
 | |
| def grow_tail(x, y):
 | |
|     pass
 | |
| 
 | |
| 
 | |
| def feed(x, y):
 | |
|     """Feed salamander."""
 | |
|     pass
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
|     dependencies = [
 | |
|         ('migrations', '0004_fourth'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.RunPython(migrations.RunPython.noop),
 | |
|         migrations.RunPython(grow_tail),
 | |
|         migrations.RunPython(feed, migrations.RunPython.noop),
 | |
|     ]
 |