updated pyton versions and wrote hilfsbibliotheken
This commit is contained in:
@@ -86,14 +86,6 @@ class HitCount(models.Model):
|
||||
period = timezone.now() - timedelta(**kwargs)
|
||||
return self.hit_set.filter(created__gte=period).count()
|
||||
|
||||
# def get_content_object_url(self):
|
||||
# """
|
||||
# Django has this in its contrib.comments.model file -- seems worth
|
||||
# implementing though it may take a couple steps.
|
||||
#
|
||||
# """
|
||||
# pass
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Hit(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user