Changed logform names to conform with contestlog pdf

This commit is contained in:
Sebastian Lohff 2017-01-26 21:15:30 +01:00
parent 6e0bed36f9
commit 34f14c58a0
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class UpdateCategoryForm(forms.Form):
class QSOForm(forms.ModelForm):
class Meta:
model = QSO
fields = ["ownNo", "band", "call", "reportTX", "reportRX", "otherNo", "refStr", "remarks"]
fields = ["ownNo", "band", "call", "reportTX", "reportRX", "refStr", "otherNo", "remarks"]
def __init__(self, user, *args, **kwargs):
super(QSOForm, self).__init__(*args, **kwargs)

View File

@ -92,8 +92,8 @@ class QSO(models.Model):
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])
ownNo = models.IntegerField(verbose_name='Nr-S')
otherNo = models.IntegerField(verbose_name='Nr-R')
ownNo = models.IntegerField(verbose_name='No-S')
otherNo = models.IntegerField(verbose_name='No-R')
refStr = models.CharField(max_length=20, verbose_name="EXC")
ref = models.ForeignKey(Reference, models.SET_NULL, null=True, blank=True)