diff --git a/sample_deployment/sample_deployment/example/views.py b/sample_deployment/sample_deployment/example/views.py index 914957e..e89d3ee 100644 --- a/sample_deployment/sample_deployment/example/views.py +++ b/sample_deployment/sample_deployment/example/views.py @@ -10,9 +10,9 @@ class HomePageView(TemplateView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) if self.request.user.is_authenticated: - social_account = SocialAccount.objects.filter( + social_account = SocialAccount.objects.filter( # pylint: disable=no-member user=self.request.user - ).first() # pylint: disable=no-member + ).first() if social_account: context["extra_data"] = social_account.extra_data return context @@ -24,9 +24,9 @@ class SocialAccountMetadataView(TemplateView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) if self.request.user.is_authenticated: - social_account = SocialAccount.objects.filter( + social_account = SocialAccount.objects.filter( # pylint: disable=no-member user=self.request.user - ).first() # pylint: disable=no-member + ).first() if social_account: context["extra_data"] = social_account.extra_data json_str = json.dumps(social_account.extra_data, indent=2)