django-ltree icon indicating copy to clipboard operation
django-ltree copied to clipboard

Automatic AppConfig discovery for support Django 3.2

Open claudiokc opened this issue 2 years ago • 2 comments

https://docs.djangoproject.com/en/4.0/releases/3.2/#what-s-new-in-django-3-2

This fix the error or warning when trying to add django_ltree in the INSTALLED_APPS settings.

django.utils.deprecation.RemovedInDjango41Warning: 'django_ltree' defines
default_app_config = 'django_ltree.apps.DjangoLtreeConfig'. Django now detects
this configuration automatically. You can remove default_app_config.

claudiokc avatar Mar 16 '22 16:03 claudiokc

I like to upgrade to Django 3.2 is this going to be merged?

simkimsia avatar Jun 10 '22 09:06 simkimsia

@claudiokc i want to thank you for writing the PR. I haven't tested it yet on a Django 3.2. But I merged your PR under my fork of this library.

My reasons for forking it are https://github.com/GreenDeploy-io/greendeploy-django-ltree#why-fork

Also I haven't created a pypi package yet. https://github.com/GreenDeploy-io/greendeploy-django-ltree#install

But I intend to.

Happy to switch back to this dependency for my own needs if the maintenance ever gets revived.

If you want to help me making that fork on pypi and moving towards Django 3.2 and dropping support for older versions, feel free to reply here

Just to be upfront, I'm doing an Ask culture move where I fully realize the answer may be a no or I get no responses.

So don't feel pressured in any way.

Thank you once again for writing this.

simkimsia avatar Jun 10 '22 11:06 simkimsia