Commit 241d5206 authored by Claude Paroz's avatar Claude Paroz

Limit BuildTranslatedDocsView to POST

parent 8d50578d
......@@ -294,6 +294,8 @@ class QualityCheckView(PoFileActionBase):
class BuildTranslatedDocsView(PoFileActionBase):
http_method_names = ['post']
def post(self, request, *args, **kwargs):
pofile = self.get_po_file()
if pofile is None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment