userzip = userlocation.objects.get(userid=request.user.id) isstaff = User.objects.filter(is_staff=True) for x in isstaff: for y in userzip: