fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Python 3
[wolnelektury.git]
/
src
/
suggest
/
models.py
diff --git
a/src/suggest/models.py
b/src/suggest/models.py
index
b499ee8
..
b5fb06f
100644
(file)
--- a/
src/suggest/models.py
+++ b/
src/suggest/models.py
@@
-22,8
+22,8
@@
class Suggestion(models.Model):
verbose_name = _('suggestion')
verbose_name_plural = _('suggestions')
verbose_name = _('suggestion')
verbose_name_plural = _('suggestions')
- def __
unicode
__(self):
- return
unicode
(self.created_at)
+ def __
str
__(self):
+ return
str
(self.created_at)
class PublishingSuggestion(models.Model):
class PublishingSuggestion(models.Model):
@@
-69,5
+69,5
@@
class PublishingSuggestion(models.Model):
spam = True
return spam
spam = True
return spam
- def __
unicode
__(self):
- return
unicode
(self.created_at)
+ def __
str
__(self):
+ return
str
(self.created_at)