Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
221dc99d
Unverified
Commit
221dc99d
authored
5 years ago
by
Thomas Tracy
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #20760 from edx/ttracy/ent-1994-dsc-flag-bug
type uuid for proper encoding.
parents
a47b6858
be0e6093
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/features/enterprise_support/signals.py
+2
-1
2 additions, 1 deletion
openedx/features/enterprise_support/signals.py
with
2 additions
and
1 deletion
openedx/features/enterprise_support/signals.py
+
2
−
1
View file @
221dc99d
...
...
@@ -5,6 +5,7 @@ This module contains signals related to enterprise.
from
__future__
import
absolute_import
import
logging
import
six
from
django.contrib.auth.models
import
User
from
django.db.models.signals
import
post_save
,
pre_save
...
...
@@ -56,7 +57,7 @@ def update_dsc_cache_on_enterprise_customer_update(sender, instance, **kwargs):
new_value
=
instance
.
enable_data_sharing_consent
old_value
=
old_instance
.
enable_data_sharing_consent
if
new_value
!=
old_value
:
kwargs
=
{
'
enterprise_customer_uuid
'
:
instance
.
uuid
}
kwargs
=
{
'
enterprise_customer_uuid
'
:
six
.
text_type
(
instance
.
uuid
)
}
result
=
clear_enterprise_customer_data_consent_share_cache
.
apply_async
(
kwargs
=
kwargs
)
log
.
info
(
u
"
DSC: Created {task_name}[{task_id}] with arguments {kwargs}
"
.
format
(
task_name
=
clear_enterprise_customer_data_consent_share_cache
.
name
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment