Sorry about the broken link, and I appreciate you pointing it out. Thanks for sharing your project structure—that definitely helps in troubleshooting.
Since you already tried 'ENGINE': 'custom_backend.base'
and got an error, here are a few things to double-check:
Make sure every folder in custom_backend
has an __init__.py
file, so Django recognizes them as proper Python packages.
Try importing it manually with from custom_backend.base import DatabaseWrapper
to see if Django can actually find it.
Check if DatabaseWrapper
is fully implemented, including attributes like client_class
and methods like get_new_connection()
.
If you are still stuck, let me know what error you are seeing now—I will be happy to help!