mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 11:03:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
from __future__ import unicode_literals
 | 
						|
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
    dependencies = [("core", "0020_auto_20170324_0917")]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name="notification",
 | 
						|
            name="type",
 | 
						|
            field=models.CharField(
 | 
						|
                verbose_name="type",
 | 
						|
                default="GENERIC",
 | 
						|
                max_length=32,
 | 
						|
                choices=[
 | 
						|
                    ("MAILING_MODERATION", "A new mailing list neet to be moderated"),
 | 
						|
                    ("NEWS_MODERATION", "A fresh new to be moderated"),
 | 
						|
                    ("FILE_MODERATION", "New files to be moderated"),
 | 
						|
                    ("SAS_MODERATION", "New pictures/album to be moderated in the SAS"),
 | 
						|
                    ("NEW_PICTURES", "You've been identified on some pictures"),
 | 
						|
                    ("REFILLING", "You just refilled of %s €"),
 | 
						|
                    ("SELLING", "You just bought %s"),
 | 
						|
                    ("GENERIC", "You have a notification"),
 | 
						|
                ],
 | 
						|
            ),
 | 
						|
        )
 | 
						|
    ]
 |