FIXME
/XXX
/TODO
encountered PYL-W0511post
113 self.refresh_op(response, cookie_name)
114 return response
115
116 # TODO Rename this here and in `post`117 def refresh_op(self, response, cookie_name):
118 cookie_secure = getattr(settings, "JWT_AUTH_SECURE", False)
119 cookie_httponly = getattr(settings, "JWT_AUTH_HTTPONLY", True)
get_response
71 self.get_response_op(response, refresh_token_expiration)
72 return response
73
74 # TODO Rename this here and in `get_response` 75 def get_response_op(self, response, refresh_token_expiration):
76 cookie_name = getattr(settings, "JWT_AUTH_COOKIE", None)
77 access_token_expiration = timezone.now() + jwt_settings.ACCESS_TOKEN_LIFETIME
assign_matches_this_week
154. Set available_this_week = False for all users with matches_this_week.
16"""
17
18# TODO Rename this here and in `assign_matches_this_week`19def assign():
20 # AVAILABLE
21 SocialProfile.objects.filter(available_always_off=False).update(
186 return_distance=False,
187 )
188 # could apply filters on neighbors
189 # todo: add filters from pref_dev_type and pref_timezone_deviation190 user_list = []
191 for nbr in nbrs[0]:
192 if indirect_matching:
59 pass
60
61
62# todo: add a signal for an async task to send email to user (Welcome to DevClad!)
You have marked this block as FIXME
/XXX
/TODO
. Please make sure this is addressed, or remove this comment as this could be misleading.