<commit_before>from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.db.models import F
from django.views import generic

from .models import Choice, Question


class IndexView(generic.ListView):
	template_name = 'polls/index.html'
	context_object_name = 'latest_question_list'

	def get_queryset(self):
		"""
    	Return the last five published questions (not including those set to be<commit_msg>Fixing missed timezone import<commit_after>from django.shortcuts import get_object_or_404, render
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.db.models import F
from django.views import generic
from django.utils import timezone

from .models import Choice, Question


class IndexView(generic.ListView):
	template_name = 'polls/index.html'
	context_object_name = 'latest_question_list'

	def get_queryset(self):
		"""
    	Return the last five published questions (not including those set to be
{'fraction_non_alphanumeric': 0.06178707224334601, 'fraction_numerical': 0.005703422053231939, 'mean_word_length': 5.7935483870967746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6667768', 'n_tokens_mistral': 302, 'n_tokens_neox': 287, 'n_words': 98}