--- /dev/null
+# Generated by Django 2.2.16 on 2020-11-26 11:50
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('club', '0023_completed_at'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='membership',
+ old_name='honorary',
+ new_name='manual',
+ ),
+ migrations.AddField(
+ model_name='membership',
+ name='notes',
+ field=models.CharField(blank=True, max_length=2048, verbose_name='notes'),
+ ),
+ migrations.AddField(
+ model_name='membership',
+ name='updated_at',
+ field=models.DateField(auto_now=True, verbose_name='updated at'),
+ ),
+ migrations.AlterField(
+ model_name='membership',
+ name='name',
+ field=models.CharField(blank=True, max_length=255, verbose_name='name'),
+ ),
+ ]
--- /dev/null
+# Generated by Django 2.2.16 on 2020-11-26 11:50
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('club', '0024_auto_20201126_1250'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='membership',
+ name='manual',
+ field=models.BooleanField(default=False, verbose_name='manual'),
+ ),
+ ]
membership = user.membership
except cls.DoesNotExist:
return False
- if membership.honorary:
+ if membership.manual:
return True
return Schedule.objects.filter(
expires_at__gt=now(),
--- /dev/null
+# Generated by Django 2.2.16 on 2020-11-26 11:42
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('messaging', '0005_auto_20200129_1309'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='contact',
+ options={'verbose_name': 'contact', 'verbose_name_plural': 'contacts'},
+ ),
+ migrations.AlterField(
+ model_name='contact',
+ name='level',
+ field=models.PositiveSmallIntegerField(choices=[(10, 'Cold'), (20, 'Would-be donor'), (30, 'One-time donor'), (40, 'Recurring donor'), (45, 'Manually set as member'), (50, 'Opt out')]),
+ ),
+ ]