Bah, codestyle

This commit is contained in:
2021-01-27 19:36:42 +00:00
parent 2195a60438
commit 883ef4ed8b
4 changed files with 30 additions and 7 deletions

View File

@@ -23,10 +23,13 @@ from functools import reduce
from django.views.decorators.cache import never_cache, cache_page
from django.utils.decorators import method_decorator
def is_ajax(request):
return request.headers.get('x-requested-with') == 'XMLHttpRequest'
# Displays the current rig count along with a few other bits and pieces
class Index(generic.TemplateView):
template_name = 'index.html'