mongodb-labs / django-mongodb

MongoDB Backend for Django
Apache License 2.0
16 stars 7 forks source link

INTPYTHON-396 Add common problems and fixes #182

Closed aclark4life closed 3 weeks ago

timgraham commented 3 weeks ago

I'm against documenting such obscure errors. We should improve the situation so that more helpful errors are raised in advance of these misconfiguration problems.

aclark4life commented 3 weeks ago

Copy that! What did you have in mind for troubleshooting?

Error we raise

Describe fix to error we raise

?

timgraham commented 3 weeks ago

I didn't have anything in mind. The section was merely copied from the README at https://github.com/Snowflake-Labs/django-snowflake?tab=readme-ov-file#troubleshooting. There might be something to be said, or there might not be. Now that I look at it, I suppose similar instructions about configuring pymongo's logging using Django's LOGGING setting would be useful.