Changed logform names to conform with contestlog pdf
This commit is contained in:
parent
6e0bed36f9
commit
34f14c58a0
|
@ -60,7 +60,7 @@ class UpdateCategoryForm(forms.Form):
|
||||||
class QSOForm(forms.ModelForm):
|
class QSOForm(forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = QSO
|
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):
|
def __init__(self, user, *args, **kwargs):
|
||||||
super(QSOForm, self).__init__(*args, **kwargs)
|
super(QSOForm, self).__init__(*args, **kwargs)
|
||||||
|
|
|
@ -92,8 +92,8 @@ class QSO(models.Model):
|
||||||
reportTX = models.CharField(max_length=7, default=59, verbose_name='RST-S', validators=[reportValidator])
|
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])
|
reportRX = models.CharField(max_length=7, default=59, verbose_name='RST-R', validators=[reportValidator])
|
||||||
|
|
||||||
ownNo = models.IntegerField(verbose_name='Nr-S')
|
ownNo = models.IntegerField(verbose_name='No-S')
|
||||||
otherNo = models.IntegerField(verbose_name='Nr-R')
|
otherNo = models.IntegerField(verbose_name='No-R')
|
||||||
|
|
||||||
refStr = models.CharField(max_length=20, verbose_name="EXC")
|
refStr = models.CharField(max_length=20, verbose_name="EXC")
|
||||||
ref = models.ForeignKey(Reference, models.SET_NULL, null=True, blank=True)
|
ref = models.ForeignKey(Reference, models.SET_NULL, null=True, blank=True)
|
||||||
|
|
Loading…
Reference in New Issue