diff --git a/contest/migrations/0016_auto_20170127_1154.py b/contest/migrations/0016_auto_20170127_1154.py new file mode 100644 index 0000000..39f9234 --- /dev/null +++ b/contest/migrations/0016_auto_20170127_1154.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2017-01-27 11:54 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('contest', '0015_auto_20170126_2016'), + ] + + operations = [ + migrations.AlterField( + model_name='qso', + name='reportRX', + field=models.CharField(default=59, max_length=7, validators=[django.core.validators.RegexValidator('[1-5][1-9]')], verbose_name='RS-R'), + ), + migrations.AlterField( + model_name='qso', + name='reportTX', + field=models.CharField(default=59, max_length=7, validators=[django.core.validators.RegexValidator('[1-5][1-9]')], verbose_name='RS-S'), + ), + ] diff --git a/contest/models.py b/contest/models.py index ed8dd71..43690bf 100644 --- a/contest/models.py +++ b/contest/models.py @@ -89,8 +89,8 @@ class QSO(models.Model): callRef = models.ForeignKey(User, models.SET_NULL, related_name='qsoref', null=True, blank=True, default=None) band = models.ForeignKey(Band) - reportTX = models.CharField(max_length=7, default=59, verbose_name='RST-S', validators=[reportValidator]) - reportRX = models.CharField(max_length=7, default=59, verbose_name='RST-R', validators=[reportValidator]) + reportTX = models.CharField(max_length=7, default=59, verbose_name='RS-S', validators=[reportValidator]) + reportRX = models.CharField(max_length=7, default=59, verbose_name='RS-R', validators=[reportValidator]) ownNo = models.IntegerField(verbose_name='No-S') otherNo = models.IntegerField(verbose_name='No-R', null=True, blank=True)