diff --git a/passbook/core/forms/applications.py b/passbook/core/forms/applications.py index 71df296e1..e63eeb06d 100644 --- a/passbook/core/forms/applications.py +++ b/passbook/core/forms/applications.py @@ -1,6 +1,5 @@ """passbook Core Application forms""" from django import forms -from django.contrib.admin.widgets import FilteredSelectMultiple from django.utils.translation import gettext_lazy as _ from passbook.core.models import Application, Provider @@ -26,14 +25,12 @@ class ApplicationForm(forms.ModelForm): "meta_icon_url", "meta_description", "meta_publisher", - "policies", ] widgets = { "name": forms.TextInput(), "meta_launch_url": forms.TextInput(), "meta_icon_url": forms.TextInput(), "meta_publisher": forms.TextInput(), - "policies": FilteredSelectMultiple(_("policies"), False), } labels = { "meta_launch_url": _("Launch URL"), @@ -41,4 +38,3 @@ class ApplicationForm(forms.ModelForm): "meta_description": _("Description"), "meta_publisher": _("Publisher"), } - help_texts = {"policies": _("Policies required to access this Application.")} diff --git a/passbook/stages/user_logout/stage.py b/passbook/stages/user_logout/stage.py index 6b64f4563..889b94c70 100644 --- a/passbook/stages/user_logout/stage.py +++ b/passbook/stages/user_logout/stage.py @@ -13,9 +13,7 @@ class UserLogoutStageView(AuthenticationStage): def get(self, request: HttpRequest) -> HttpResponse: LOGGER.debug( - "Logged out", - user=request.user, - flow_slug=self.executor.flow.slug, + "Logged out", user=request.user, flow_slug=self.executor.flow.slug, ) logout(self.request) return self.executor.stage_ok()