diff --git a/pinax/notifications/views.py b/pinax/notifications/views.py index 781b98d1..872ef7c1 100644 --- a/pinax/notifications/views.py +++ b/pinax/notifications/views.py @@ -29,7 +29,7 @@ def form_label(self, notice_type, medium_id): medium_id ) - def process_row(self, label): + def process_cell(self, label): val = self.request.POST.get(label) _, pk, _, medium_id = label.split("-") notice_type = NoticeType.objects.get(pk=pk) @@ -58,7 +58,7 @@ def post(self, request, *args, **kwargs): table = self.settings_table() for row in table: for cell in row["cells"]: - self.process_row(cell[0]) + self.process_cell(cell[0]) return HttpResponseRedirect(request.POST.get("next_page", ".")) def get_context_data(self, **kwargs):