Minor code cleanup

This commit is contained in:
Sebastian Lohff 2017-01-27 00:26:55 +01:00
parent 99827c6385
commit dda606ad4a
1 changed files with 0 additions and 6 deletions

View File

@ -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",