adding back some conditionals for feature flag

This commit is contained in:
asaki222 2024-09-10 10:27:28 -04:00
parent 8954efb537
commit db46ca9fe4
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
4 changed files with 26 additions and 33 deletions

View file

@ -45,6 +45,9 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
context["show_confirmation_modal"] = True
return self.render_to_response(context)
def dispatch(self, request, *args, **kwargs): # type: ignore
return super().dispatch(request, *args, **kwargs)
def get_context_data(self, **kwargs):
"""Extend get_context_data"""