git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edited unicode methods and added some null=True, blank=True constraints.
[philo.git]
/
models
/
nodes.py
diff --git
a/models/nodes.py
b/models/nodes.py
index
a8125ee
..
1e7622a
100644
(file)
--- a/
models/nodes.py
+++ b/
models/nodes.py
@@
-108,4
+108,7
@@
class File(View):
return response
class Meta:
return response
class Meta:
- app_label = 'philo'
\ No newline at end of file
+ app_label = 'philo'
+
+ def __unicode__(self):
+ return self.file.name
\ No newline at end of file