2017-08-22 20:39:12 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0021_auto_20170822_1529")]
|
2017-08-22 20:39:12 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="notification",
|
|
|
|
name="type",
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[
|
|
|
|
("MAILING_MODERATION", "A new mailing list needs 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"),
|
|
|
|
],
|
|
|
|
default="GENERIC",
|
|
|
|
max_length=32,
|
|
|
|
verbose_name="type",
|
|
|
|
),
|
|
|
|
)
|
2017-08-22 20:39:12 +00:00
|
|
|
]
|