forked from inveniosoftware/invenio-circulation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add view to handle loan actions with REST calls - closes inveniosoftware#26 Co-authored-by: Zacharias Zacharodimos <zacharias.zacharodimos@cern.ch> Co-authored-by: Christos Topaloudis <topless@gmail.com>
- Loading branch information
1 parent
efcb26f
commit a8e0414
Showing
10 changed files
with
240 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2018 CERN. | ||
# Copyright (C) 2018 RERO. | ||
# | ||
# Invenio-Circulation is free software; you can redistribute it and/or modify | ||
# it under the terms of the MIT License; see LICENSE file for more details. | ||
|
||
"""Circulation exceptions.""" | ||
|
||
|
||
class LoanActionError(Exception): | ||
"""Loan action error.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,3 @@ def is_request_validate_valid( | |
): | ||
""".""" | ||
return True | ||
|
||
|
||
|
Oops, something went wrong.