File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.11 -slim
1+ FROM python:3.12 -slim
22
33WORKDIR /app
44
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ This is a sample Django application that demonstrates how to integrate Logtail f
99- Custom context and extra data in logs
1010- Exception handling and logging
1111- Docker support
12+ - Django 5.1.3 with Python 3.12
1213
1314## Prerequisites
1415
@@ -70,4 +71,4 @@ example-django/
7071
7172## Logging Configuration
7273
73- The logging configuration can be found in ` settings.py ` . It sets up both console and Logtail handlers with a verbose formatter.
74+ The logging configuration can be found in ` settings.py ` . It sets up both console and Logtail handlers with a verbose formatter.
Original file line number Diff line number Diff line change 9696# Default primary key field type
9797DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
9898
99+ # Default timeout for database operations (new in Django 5.1)
100+ DATABASE_TIMEOUT = 30
101+
99102# Logging configuration with Logtail
100103LOGGING = {
101104 'version' : 1 ,
Original file line number Diff line number Diff line change 1- Django >= 4.2.0 , < 5.0.0
1+ Django == 5.1.3
22logtail-python
33gunicorn >= 21.2.0
44python-dotenv >= 1.0.0
You can’t perform that action at this time.
0 commit comments