projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d14a8e
)
add comment to note model
author
Seth Woodworth
<seth@sethish.com>
Sat, 15 Jun 2013 00:39:00 +0000
(20:39 -0400)
committer
Seth Woodworth
<seth@sethish.com>
Sat, 15 Jun 2013 00:39:00 +0000
(20:39 -0400)
karmaworld/apps/notes/models.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/models.py
b/karmaworld/apps/notes/models.py
index f34bb333deb06c67bdce09d312544c842f17f83e..fe82f9babb227e115846696bbe6be1cf0a07f1ab 100644
(file)
--- a/
karmaworld/apps/notes/models.py
+++ b/
karmaworld/apps/notes/models.py
@@
-53,6
+53,7
@@
class Note(models.Model):
blank=True, null=True)
# Upload files to MEDIA_ROOT/notes/YEAR/MONTH/DAY, 2012/10/30/filename
+ # FIXME: because we are adding files by hand in tasks.py, upload_to is being ignored for media files
note_file = models.FileField(
storage=fs,
upload_to="notes/%Y/%m/%j/",