Newly tracked file
...ons/0034_subscription_other_to_separate_deposit.py
created.
mep/accounts/models.py
changed.
1 | + | # Generated by Django 2.2.11 on 2020-12-10 15:14 |
|
2 | + | ||
3 | + | from django.db import migrations, models |
|
4 | + | ||
5 | + | ||
6 | + | class Migration(migrations.Migration): |
|
7 | + | ||
8 | + | dependencies = [ |
|
9 | + | ('accounts', '0033_subscription_purchase_date_adjustments'), |
|
10 | + | ] |
|
11 | + | ||
12 | + | operations = [ |
|
13 | + | migrations.AlterField( |
|
14 | + | model_name='subscription', |
|
15 | + | name='subtype', |
|
16 | + | field=models.CharField(blank=True, choices=[('', 'Subscription'), ('sup', 'Supplement'), ('ren', 'Renewal'), ('oth', 'Separate Deposit')], help_text='Type of subscription event, e.g. supplement or renewal.', max_length=50, verbose_name='Type'), |
|
17 | + | ), |
|
18 | + | ] |
423 | 423 | ||
424 | 424 | SUPPLEMENT = 'sup' |
|
425 | 425 | RENEWAL = 'ren' |
|
426 | - | OTHER = 'oth' |
|
426 | + | SEPARATE_DEPOSIT = 'oth' # for historical reasons, this code is "other" |
|
427 | 427 | ||
428 | 428 | EVENT_TYPE_CHOICES = ( |
|
429 | 429 | ('', 'Subscription'), |
|
430 | 430 | (SUPPLEMENT, 'Supplement'), |
|
431 | 431 | (RENEWAL, 'Renewal'), |
|
432 | - | (OTHER, 'Other'), |
|
432 | + | (SEPARATE_DEPOSIT, 'Separate Deposit'), |
|
433 | 433 | ) |
|
434 | 434 | subtype = models.CharField( |
|
435 | 435 | verbose_name='Type', max_length=50, blank=True, |
Files | Coverage |
---|---|
mep | 98.44% |
srcmedia/ts | 86.55% |
Project Totals (224 files) | 98.01% |
TRAVIS_PYTHON_VERSION=3.5 TRAVIS_OS_NAME=linux