mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 10:00:33 +00:00
commit
146e92480b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue