Skip to content

Commit

Permalink
Add more verbose names to Udlejning
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Oct 15, 2018
1 parent d2aec8b commit 389adb0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions udlejning/migrations/0023_auto_20181016_0133.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 2.1.2 on 2018-10-15 23:33

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('udlejning', '0022_auto_20180726_1710'),
]

operations = [
migrations.AlterField(
model_name='udlejning',
name='actualConsummation',
field=models.TextField(blank=True, max_length=140, verbose_name='Faktisk forbrug'),
),
migrations.AlterField(
model_name='udlejning',
name='bartendersInCharge',
field=models.ManyToManyField(blank=True, to='bartenders.Bartender', verbose_name='Ansvarlige'),
),
migrations.AlterField(
model_name='udlejning',
name='billSendTo',
field=models.CharField(max_length=140, verbose_name='Send regning til'),
),
]
6 changes: 3 additions & 3 deletions udlejning/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class Udlejning(UdlejningCommon):
)

association = models.CharField(max_length=16, choices=ASSOCIATION_CHOICES, blank=True, verbose_name='Tilknytning')
actualConsummation = models.TextField(max_length=140, blank=True)
bartendersInCharge = models.ManyToManyField(Bartender, blank=True)
billSendTo = models.CharField(max_length=140)
actualConsummation = models.TextField(max_length=140, blank=True, verbose_name='Faktisk forbrug')
bartendersInCharge = models.ManyToManyField(Bartender, blank=True, verbose_name='Ansvarlige')
billSendTo = models.CharField(max_length=140, verbose_name='Send regning til')
status = models.CharField(max_length=16, choices=STATUS_CHOICES, default='notsent')

class Meta:
Expand Down

0 comments on commit 389adb0

Please sign in to comment.