Patches Django's database connection handling to automatically retry failed connections before raising an error. Useful for environments with brief database unavailability (e.g., container restarts, network blips). Current version 0.2.0, maintained sporadically.
pip install django-dbconn-retryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Call patch_conn() after Django setup to enable automatic retries on connection failures.
Understand the scope: only initial connection failures are retried. For query retries, consider other tools like django-tenacity.
Ensure django.setup() is called before patch_conn() in your manage.py or wsgi.py setup.
Test with your Django version; consider alternatives like custom database backends or django-retry-if-fails.
No dependency data recorded yet.