Commit eacdac60 authored by Michal Čihař's avatar Michal Čihař

Need to pass files here

parent e13b6929
......@@ -178,7 +178,7 @@ def upload_translation(request, project, subproject, lang):
obj = get_object_or_404(Translation, language__code = lang, subproject__slug = subproject, subproject__project__slug = project)
if request.method == 'POST':
form = UploadForm(request.POST)
form = UploadForm(request.POST, request.FILES)
if form.is_valid():
# FIXME: process upload
messages.add_message(request, messages.INFO, _('File content successfully merged into translation.'))
......
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