mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-10-31 09:03:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			663 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			663 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import unicode_literals
 | |
| 
 | |
| import datetime
 | |
| from datetime import timezone
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
|     dependencies = [("counter", "0002_auto_20160826_1342")]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name="permanency",
 | |
|             name="activity",
 | |
|             field=models.DateTimeField(
 | |
|                 verbose_name="activity time",
 | |
|                 auto_now=True,
 | |
|                 default=datetime.datetime(
 | |
|                     2016, 8, 26, 17, 5, 31, 202824, tzinfo=timezone.utc
 | |
|                 ),
 | |
|             ),
 | |
|             preserve_default=False,
 | |
|         )
 | |
|     ]
 |