<commit_before># -*- coding: utf-8 -*-

from django.views import generic

from . import models


class PostListView(generic.ListView):
    queryset = models.Post.objects.posts()<commit_msg>ordering e pagination<commit_after># -*- coding: utf-8 -*-

from django.views import generic

from . import models


class PostListView(generic.ListView):
    queryset = models.Post.objects.posts()
    ordering = ('-created_at',)
    paginate_by = 5
{'fraction_non_alphanumeric': 0.1278538812785388, 'fraction_numerical': 0.00684931506849315, 'mean_word_length': 3.8777777777777778, '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': '5251185', 'n_tokens_mistral': 137, 'n_tokens_neox': 128, 'n_words': 33}