- Changed project ownership to
AmbitionEng
by @wesleykendall in #14.
- Added Python 3.13 support, dropped Python 3.8. Added Postgres17 support by @wesleykendall in #13.
- Added
application_name
as one of the fields returned by the primary activity proxy model by @Pete-J-Matthews in #11.
- Django 5.1 compatibilty, and Dropped Django 3.2 / Postgres 12 support by @wesleykendall in #10.
- Fix ReadTheDocs builds. [Wesley Kendall, 8b3c49e]
-
Django 5.0 compatibility [Wesley Kendall, 12efd20]
Support and test against Django 5 with psycopg2 and psycopg3.
- Added Opus10 branding to docs [Wesley Kendall, 877178b]
-
Add Python 3.12 support and use Mkdocs for documentation [Wesley Kendall, ec98a78]
Python 3.12 and Postgres 16 are supported now, along with having revamped docs using Mkdocs and the Material theme.
Python 3.7 support was dropped.
-
Added Python 3.11, Django 4.2, and Psycopg 3 support [Wesley Kendall, 72af215]
Adds Python 3.11, Django 4.2, and Psycopg 3 support along with tests for multiple Postgres versions. Drops support for Django 2.2.
- Use
None
to resetpgactivity.timeout
. [Wesley Kendall, fcabcb7]
-
Simplify management command and nest
pgactivity.timeout
. [Wesley Kendall, b7d359d]The
pgactivity
command has been turned into a single management command that can list and kill queries rather than having mulitple subcommands.The
pgactivity.timeout
context manager can now be nested too.
-
Initial release of
django-pgactivity
[Wesley Kendall, 593bda7]django-pgactivity
makes it easy to view, filter, and kill Postgres queries. It comes with the following functionality:- The
PGActivity
proxy model andpgactivity
management command for querying and filtering thepg_stats_activity
table. pgactivity.context
andpgactivity.middleware.ActivityMiddleware
for annotating queries with application metadata, such as the request URL.pgactivity.cancel
andpgactivity.terminate
for cancelling and terminating queries. ThePGActivity
model manager also has these methods.pgactivity.timeout
for dynamically setting the statement timeout.
- The