From 3fa49cf5c8f08f914a2d3993cd9bb3a2e16775f9 Mon Sep 17 00:00:00 2001 From: Patrick Altman Date: Tue, 3 Mar 2015 21:18:05 -0600 Subject: [PATCH] Rename method --- pinax/notifications/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):