forked from mirrors/bookwyrm
404 instead of error for invalid post link
This commit is contained in:
parent
8609c8eb79
commit
5401d73909
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ from .reading import edit_readthrough
|
|||
class CreateStatus(View):
|
||||
"""the view for *posting*"""
|
||||
|
||||
def get(self, request):
|
||||
def get(self, request, status_type): # pylint: disable=unused-argument
|
||||
"""compose view (used for delete-and-redraft"""
|
||||
book = get_object_or_404(models.Edition, id=request.GET.get("book"))
|
||||
data = {"book": book}
|
||||
|
|
Loading…
Reference in a new issue