Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Mar 4, 2015
1 parent a8a527d commit 3fa49cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinax/notifications/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 3fa49cf

Please # to comment.