mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-25 10:33:50 +02:00
made email readonly and fixed some unit tests
This commit is contained in:
parent
be43bbc8b7
commit
a7abfa9cdb
4 changed files with 5 additions and 4 deletions
|
@ -54,7 +54,6 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
|
|||
def get_context_data(self, **kwargs):
|
||||
"""Extend get_context_data to include has_profile_feature_flag"""
|
||||
context = super().get_context_data(**kwargs)
|
||||
logger.info("UserProfileView::get_context_data")
|
||||
# This is a django waffle flag which toggles features based off of the "flag" table
|
||||
context["has_profile_feature_flag"] = flag_is_active(self.request, "profile_feature")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue