Skip to content

Commit

Permalink
Fix verbose plural model names
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonje committed Dec 2, 2016
1 parent 97b1fc8 commit 3f4ffed
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions calaccess_processed/migrations/0010_auto_20161202_1642.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-02 16:42
from __future__ import unicode_literals

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('calaccess_processed', '0009_auto_20161202_1612'),
]

operations = [
migrations.AlterModelOptions(
name='form460scheduleb2itemold',
options={'verbose_name_plural': 'Form460 schedule b2 items old'},
),
migrations.AlterModelOptions(
name='form460scheduleb2itemversionold',
options={'verbose_name_plural': 'Form460 schedule b2 item versions old'},
),
migrations.AlterModelOptions(
name='form460scheduleh2itemold',
options={'verbose_name_plural': 'Form460 schedule h2 items old'},
),
migrations.AlterModelOptions(
name='form460scheduleh2itemversionold',
options={'verbose_name_plural': 'Form460 schedule h2 item versions old'},
),
]
4 changes: 4 additions & 0 deletions calaccess_processed/models/campaign/filings/form460.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ class Meta:
'filing',
'line_item',
),)
verbose_name_plural = "Form460 schedule b2 items old"

def __str__(self):
return '%s-%s' % (self.filing, self.line_item)
Expand Down Expand Up @@ -876,6 +877,7 @@ class Meta:
'filing_version',
'line_item',
),)
verbose_name_plural = "Form460 schedule b2 item versions old"

def __str__(self):
return '%s-%s-%s' % (
Expand Down Expand Up @@ -1981,6 +1983,7 @@ class Meta:
'filing',
'line_item',
),)
verbose_name_plural = "Form460 schedule h2 items old"

def __str__(self):
return '%s-%s' % (self.filing, self.line_item)
Expand Down Expand Up @@ -2019,6 +2022,7 @@ class Meta:
'filing_version',
'line_item',
),)
verbose_name_plural = "Form460 schedule h2 item versions old"

def __str__(self):
return '%s-%s-%s' % (
Expand Down

0 comments on commit 3f4ffed

Please sign in to comment.