From ab2f7bc831c0102b6b898818f3305aa6dcfc0f63 Mon Sep 17 00:00:00 2001 From: Vidir Valberg Gudmundsson Date: Sat, 1 Feb 2020 04:58:56 +0100 Subject: [PATCH] Python 2 is sooo last decade. --- src/news/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/news/models.py b/src/news/models.py index 933d312b..46d17837 100644 --- a/src/news/models.py +++ b/src/news/models.py @@ -1,12 +1,10 @@ from django.db import models -from django.utils import encoding from django.utils.text import slugify from django.urls import reverse from utils.models import CreatedUpdatedModel -@encoding.python_2_unicode_compatible class NewsItem(CreatedUpdatedModel): class Meta: ordering = ["-published_at"]