disable some warnings

This commit is contained in:
Mouse Reeve
2020-12-12 18:13:00 -08:00
parent 1e01e76ac2
commit 2b3daa0227
4 changed files with 4 additions and 6 deletions

View File

@ -17,9 +17,6 @@ from bookwyrm.signatures import Signature
@csrf_exempt
def inbox(request, username):
''' incoming activitypub events '''
# TODO: should do some kind of checking if the user accepts
# this action from the sender probably? idk
# but this will just throw a 404 if the user doesn't exist
try:
models.User.objects.get(localname=username)
except models.User.DoesNotExist: