From 66438d1b1b8765a66a87ca6bc2e41dc44d5a559d Mon Sep 17 00:00:00 2001 From: bashmak Date: Wed, 7 Feb 2018 23:02:30 +0300 Subject: [PATCH] Refactoring abonapp.views.grouplist from function view to ClassBasedView --- abonapp/templates/abonapp/group_list.html | 5 ++-- abonapp/urls.py | 2 +- abonapp/views.py | 35 ++++++++++------------- 3 files changed, 18 insertions(+), 24 deletions(-) diff --git a/abonapp/templates/abonapp/group_list.html b/abonapp/templates/abonapp/group_list.html index ccf7721..761efec 100644 --- a/abonapp/templates/abonapp/group_list.html +++ b/abonapp/templates/abonapp/group_list.html @@ -2,7 +2,6 @@ {% load i18n %} {% block main %} -