Skip to content

Commit 3f0e478

Browse files
authored
Update django secret key (#32698)
1 parent caac5d5 commit 3f0e478

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

sdk/monitor/azure-monitor-opentelemetry-exporter/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
- Default exception type for blank exceptions
1212
([#32327](https://github.com/Azure/azure-sdk-for-python/pull/32327))
13+
- Updated django samples with clearly artificial secret key
14+
([#32698](https://github.com/Azure/azure-sdk-for-python/pull/32698))
1315

1416
### Other Changes
1517

sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/django/sample/sample/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
2525

2626
# SECURITY WARNING: keep the secret key used in production secret!
27-
SECRET_KEY = 'django-insecure--9p!az#-flphjtvtl#c_ep6x#1lo+0@nzci#-(!-3c$!o0lyjk'
27+
SECRET_KEY = "django-insecure--abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)"
2828

2929
# SECURITY WARNING: don't run with debug turned on in production!
3030
DEBUG = True

sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
### Bugs Fixed
1717

18+
- Updated django samples with clearly artificial secret key
19+
([#32698](https://github.com/Azure/azure-sdk-for-python/pull/32698))
20+
1821
### Other Changes
1922

2023
## 1.0.0 (2023-09-12)

sdk/monitor/azure-monitor-opentelemetry/samples/tracing/django/sample/sample/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
2525

2626
# SECURITY WARNING: keep the secret key used in production secret!
27-
SECRET_KEY = "django-insecure--9p!az#-flphjtvtl#c_ep6x#1lo+0@nzci#-(!-3c$!o0lyjk"
27+
SECRET_KEY = "django-insecure--abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)"
2828

2929
# SECURITY WARNING: don't run with debug turned on in production!
3030
DEBUG = True

0 commit comments

Comments
 (0)