File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44from django .contrib .gis .db import models
55from django .core .exceptions import ObjectDoesNotExist
66from django .utils import timezone
7- from django .utils .encoding import smart_text
7+ from django .utils .encoding import smart_str
88from django .utils .translation import gettext_lazy as _
99from django .template .defaultfilters import truncatechars
1010
@@ -105,7 +105,7 @@ class Meta:
105105 abstract = True
106106
107107 def __str__ (self ):
108- return smart_text (_ ("Push Token %(push_token)s for %(user)s" ) % {
108+ return smart_str (_ ("Push Token %(push_token)s for %(user)s" ) % {
109109 "user" : str (self .user ),
110110 "push_token" : self .push_token ,
111111 })
Original file line number Diff line number Diff line change 99
1010setup (
1111 name = 'django-sloop' ,
12- version = '1.0.6 ' ,
12+ version = '1.0.7 ' ,
1313 packages = ['django_sloop' ],
1414 include_package_data = True ,
1515 license = 'Apache-2.0' ,
2626 'Framework :: Django :: 2.0' ,
2727 'Framework :: Django :: 2.1' ,
2828 'Framework :: Django :: 2.2' ,
29+ 'Framework :: Django :: 3.2' ,
30+ 'Framework :: Django :: 4.0' ,
31+ 'Framework :: Django :: 4.1' ,
2932 'Intended Audience :: Developers' ,
3033 'Operating System :: OS Independent' ,
3134 'License :: OSI Approved :: BSD License' ,
You can’t perform that action at this time.
0 commit comments