diff --git a/partner_programs/admin.py b/partner_programs/admin.py index e878aab9..2ddc4e5a 100644 --- a/partner_programs/admin.py +++ b/partner_programs/admin.py @@ -67,8 +67,6 @@ def get_urls(self): return custom_urls + default_urls def mailing(self, request, partner_program): - # if "Руководитель программы" in request.user.groups.all().values_list("name"): - # return None profiles = PartnerProgramUserProfile.objects.filter( partner_program=partner_program )