Merge branch 'main' into production

This commit is contained in:
Mouse Reeve 2021-01-19 07:19:37 -08:00
commit d9d5bc4e31

View file

@ -43,7 +43,7 @@ class Import(View):
except (UnicodeDecodeError, ValueError):
return HttpResponseBadRequest('Not a valid csv file')
goodreads_import.start_import(job)
return redirect('/import-status/%d' % job.id)
return redirect('/import/%d' % job.id)
return HttpResponseBadRequest()
@ -80,4 +80,4 @@ class ImportStatus(View):
items,
)
goodreads_import.start_import(job)
return redirect('/import-status/%d' % job.id)
return redirect('/import/%d' % job.id)