fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove authorship
[edumed.git]
/
chunks
/
templatetags
/
chunks.py
diff --git
a/chunks/templatetags/chunks.py
b/chunks/templatetags/chunks.py
index
fd24b02
..
968d284
100644
(file)
--- a/
chunks/templatetags/chunks.py
+++ b/
chunks/templatetags/chunks.py
@@
-1,5
+1,5
@@
+# -*- coding: utf-8 -*-
from django import template
-from django.db import models
from django.core.cache import cache
from ..models import Chunk, Attachment
@@
-34,5
+34,3
@@
def attachment(key, cache_time=0):
return c.attachment.url
except Attachment.DoesNotExist:
return ''
-
-