fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes
[wolnelektury.git]
/
src
/
catalogue
/
api
/
views.py
diff --git
a/src/catalogue/api/views.py
b/src/catalogue/api/views.py
index
b45ad46
..
5512501
100644
(file)
--- a/
src/catalogue/api/views.py
+++ b/
src/catalogue/api/views.py
@@
-320,7
+320,7
@@
class TagView(RetrieveAPIView):
slug=self.kwargs['slug']
)
except Http404:
- if self.method == 'PUT':
+ if self.
request.
method == 'PUT':
return Tag(
category=self.kwargs['category'],
slug=self.kwargs['slug']