Python 2 is sooo last decade.

This commit is contained in:
Vidir Valberg Gudmundsson 2020-02-01 04:58:56 +01:00
parent 09e1a1fd36
commit ab2f7bc831
1 changed files with 0 additions and 2 deletions

View File

@ -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"]