Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/maze-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Maze Runner

on: [push, pull_request]

permissions:
contents: read

jobs:
maze-runner:
runs-on: 'ubuntu-latest'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Test bugsnag-python against Python versions

on: [ push, pull_request ]

permissions:
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -46,6 +49,8 @@ jobs:
needs: test
runs-on: ubuntu-latest
container: python:3-slim
permissions:
contents: none
steps:
- name: Send request
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
### Enhancements

* Add support for `level` parameter in `BugsnagHandler` constructor and `Client.log_handler()` method.
[#416](https://github.com/bugsnag/bugsnag-python/pull/416)

## v4.9.0 (2026-04-21)

Expand Down
5 changes: 4 additions & 1 deletion example/celery+django/celery_django/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 't70qw62gdx%ru%w1&f#$so*a$h9-m6h#a1=gji9$5q&)exf$*%'
SECRET_KEY = os.environ.get(
'DJANGO_SECRET_KEY',
'django-insecure-testonly-not-a-real-secret-key-replace-me',
)

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down
5 changes: 4 additions & 1 deletion example/django21/bugsnag_demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '3n3h7r@tpqnwqtt8#avxh_t75k_6zf3x)@6cg!u(&xmz79(26h'
SECRET_KEY = os.environ.get(
'DJANGO_SECRET_KEY',
'django-insecure-testonly-not-a-real-secret-key-replace-me',
)

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down
5 changes: 4 additions & 1 deletion example/django31/todo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '$#yb)ri-v$^#8o1r0x%5$0yy&aqu2yefwo10zm+(=7!t+d^6ft'
SECRET_KEY = os.environ.get(
'DJANGO_SECRET_KEY',
'django-insecure-testonly-not-a-real-secret-key-replace-me',
)

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/django30/todo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '$#yb)ri-v$^#8o1r0x%5$0yy&aqu2yefwo10zm+(=7!t+d^6ft'
SECRET_KEY = 'django-insecure-testonly-not-a-real-secret-key-replace-me'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/django4/todo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-z++&i7gx^m*qqq_1(xjqo=7%gg)^&fcq6fa3gen+10(zn5756z'
SECRET_KEY = 'django-insecure-testonly-not-a-real-secret-key-replace-me'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/django5/todo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-z++&i7gx^m*qqq_1(xjqo=7%gg)^&fcq6fa3gen+10(zn5756z'
SECRET_KEY = 'django-insecure-testonly-not-a-real-secret-key-replace-me'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/django6/todo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# See https://docs.djangoproject.com/en/6.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-z++&i7gx^m*qqq_1(xjqo=7%gg)^&fcq6fa3gen+10(zn5756z'
SECRET_KEY = 'django-insecure-testonly-not-a-real-secret-key-replace-me'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down