<commit_before>from django.db import models
from django.template.defaultfilters import slugify

class Entry(models.Model):

   title = models.CharField(max_length=500)
   author = models.ForeignKey('auth.User')
   body = models.TextField()
   created_at = models.DateTimeField(auto_now_add=True, editable=False)
   modified_at = models.DateTimeField(auto_now=True, editable=False)
   slug = models.SlugField()

   def __unicode__(self):
       return self.title

   def get_absolute_url(self):
    return ('blog', [self.slug])

<commit_msg>changing get_absolute_url back to reverse<commit_after>from django.db import models
from django.core.urlresolvers import reverse
from django.template.defaultfilters import slugify

class Entry(models.Model):

   title = models.CharField(max_length=500)
   author = models.ForeignKey('auth.User')
   body = models.TextField()
   created_at = models.DateTimeField(auto_now_add=True, editable=False)
   modified_at = models.DateTimeField(auto_now=True, editable=False)
   slug = models.SlugField()

   def __unicode__(self):
       return self.title

   def get_absolute_url(self):
       return reverse('blog.views.entry_detail', kwargs={'pk': self.pk})


{'fraction_non_alphanumeric': 0.10561609388097234, 'fraction_numerical': 0.005029337803855826, 'mean_word_length': 4.940298507462686, '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': '5542791', 'n_tokens_mistral': 375, 'n_tokens_neox': 362, 'n_words': 75}