mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
More tidying up
This commit is contained in:
@@ -2,8 +2,6 @@ import os
|
||||
import cStringIO as StringIO
|
||||
from io import BytesIO
|
||||
import urllib2
|
||||
import logging
|
||||
|
||||
|
||||
from django.views import generic
|
||||
from django.core.urlresolvers import reverse_lazy
|
||||
@@ -23,7 +21,7 @@ import re
|
||||
|
||||
__author__ = 'ghost'
|
||||
|
||||
logger = logging.getLogger('tec.pyrigs')
|
||||
|
||||
class RigboardIndex(generic.TemplateView):
|
||||
template_name = 'RIGS/rigboard.html'
|
||||
|
||||
@@ -178,6 +176,4 @@ class EventArchive(generic.ArchiveIndexView):
|
||||
if len(qs) == 0:
|
||||
messages.add_message(self.request, messages.WARNING, "No events have been found matching those criteria.")
|
||||
|
||||
return qs
|
||||
|
||||
|
||||
return qs
|
||||
Reference in New Issue
Block a user