mbi / django-rosetta

Rosetta is a Django application that eases the translation process of your Django projects
MIT License
1.08k stars 195 forks source link

Remove Django4.0 depreciation warning #262

Closed Camille-cmd closed 3 years ago

Camille-cmd commented 3 years ago

Django 3.2 introduced an automatic AppConfig discovery. With automatic AppConfig discovery, default_app_config is no longer needed. As a consequence, it’s deprecated. This removes the default_app_config line in order to remove the warning.

All Submissions:

mbi commented 3 years ago

Uhm, tests are failing on Django <= 3.1, if you'd like to pursue this PR, would mind taking a look if this is viable on all the supported Django versions?

Camille-cmd commented 3 years ago

Actually no and I apologize for not checking earlier! It is only valid from Django 3.2 and I might have mixed-up things as I though it was the case for django-rosetta, very sorry for that!