Add a form to upload goodreads data.
This commit is contained in:
parent
ea735fd570
commit
8bcd3da25e
5 changed files with 25 additions and 0 deletions
|
@ -108,6 +108,14 @@ def books_page(request):
|
|||
}
|
||||
return TemplateResponse(request, 'books.html', data)
|
||||
|
||||
@login_required
|
||||
def import_page(request):
|
||||
''' import history from goodreads '''
|
||||
return TemplateResponse(request, 'import.html', {
|
||||
'import_form': forms.ImportForm(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
def login_page(request):
|
||||
''' authentication '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue