Minor code cleanup
This commit is contained in:
parent
99827c6385
commit
dda606ad4a
|
@ -24,11 +24,6 @@ def index(request):
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
def contestIndex(request):
|
def contestIndex(request):
|
||||||
#messages.debug(request, "Debug GLITCHHHHH")
|
|
||||||
#messages.info(request, "This info is very educational")
|
|
||||||
#messages.warning(request, "You got a warning")
|
|
||||||
#messages.error(request, "Error!!!")
|
|
||||||
#messages.success(request, "Great Success")
|
|
||||||
qsoform = QSOForm(request.user)
|
qsoform = QSOForm(request.user)
|
||||||
contest = Contest.objects.get(id=1)
|
contest = Contest.objects.get(id=1)
|
||||||
qrgs = Frequency.objects.filter(band__contest=contest).order_by("channel")
|
qrgs = Frequency.objects.filter(band__contest=contest).order_by("channel")
|
||||||
|
@ -60,7 +55,6 @@ def log(request):
|
||||||
|
|
||||||
return HttpResponseRedirect(reverse("contest:log"))
|
return HttpResponseRedirect(reverse("contest:log"))
|
||||||
else:
|
else:
|
||||||
# FIXME: data initial my qso number
|
|
||||||
data = {
|
data = {
|
||||||
"ownNo": qsos[0].ownNo + 1 if len(qsos) > 0 else 1,
|
"ownNo": qsos[0].ownNo + 1 if len(qsos) > 0 else 1,
|
||||||
"reportRX": "59",
|
"reportRX": "59",
|
||||||
|
|
Loading…
Reference in New Issue