Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neutrinet
carnet_rose
Commits
7ac5d2ba
Commit
7ac5d2ba
authored
Nov 08, 2015
by
Laurent Peuch
Browse files
[enh] ImportReport.__unicode__
parent
0f17a160
Changes
1
Hide whitespace changes
Inline
Side-by-side
accounts/models.py
View file @
7ac5d2ba
...
...
@@ -26,3 +26,6 @@ class Movement(models.Model):
class
ImportReport
(
models
.
Model
):
content
=
models
.
TextField
()
created_on
=
models
.
DateTimeField
(
auto_now_add
=
True
)
def
__unicode__
(
self
):
return
u
"Import report runned at %s"
%
(
self
.
created_on
.
strftime
(
"%F %X"
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment