fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move checking membership to Membership.
[wolnelektury.git]
/
src
/
chunks
/
views.py
diff --git
a/src/chunks/views.py
b/src/chunks/views.py
index
cbcf5bf
..
fe62ed1
100644
(file)
--- a/
src/chunks/views.py
+++ b/
src/chunks/views.py
@@
-6,6
+6,7
@@
from django.http import HttpResponse
from ssify import ssi_included
from .models import Chunk
+
@ssi_included
def chunk(request, key):
chunk, created = Chunk.objects.get_or_create(key=key)