I need to check if Model.objects.filter(...) turned up anything, but do not need to insert anything. My code so far is:
Model.objects.filter(...)
user_pass = log_in(request.P
You can use:
try: # get your models except ObjectDoesNotExist: # do something