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:
7bbe290
)
Add missing .txt file type
author
Josh Williams
<jwilliams@endpoint.com>
Mon, 30 Sep 2013 19:41:54 +0000
(15:41 -0400)
committer
Josh Williams
<jwilliams@endpoint.com>
Mon, 30 Sep 2013 19:41:54 +0000
(15:41 -0400)
... Though we don't seem to use it at the moment, instead leaning on
GDrive for the handling of the type.
Also include same import fix as gdrive.py
karmaworld/apps/notes/models.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/models.py
b/karmaworld/apps/notes/models.py
index 75296e926031768e942160fc6e0b29258f69bc71..56446494978e7de54a23c39be7be87092fd007df 100644
(file)
--- a/
karmaworld/apps/notes/models.py
+++ b/
karmaworld/apps/notes/models.py
@@
-23,7
+23,7
@@
from taggit.managers import TaggableManager
from karmaworld.apps.courses.models import Course
try:
- from secret
s
.drive import GOOGLE_USER
+ from secret.drive import GOOGLE_USER
except:
GOOGLE_USER = u'admin@karmanotes.org'
@@
-127,6
+127,7
@@
class Note(Document):
('img', 'Scan or picture of notes'),
('pdf', 'PDF file'),
('ppt', 'Powerpoint'),
+ ('txt', 'Text'),
(UNKNOWN_FILE, 'Unknown file'),
)