Commit 29228a4
[fix] Avoid default_app_config Deprecation Warning in Django >= 3.2 (#268)
* make conditional on django version
* [fix] Avoid default_app_config Deprecation Warning in Django >= 3.2
Django 3.2 started throwing deprecation warnings about the use of
default_app_config in modules' __init__.py. The practice will start
throwing errors in Django 4.1. This precludes future problems
by only including the code if the Django version is below 3.2.
* [fix] Flake8 formatting
Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>1 parent 88d3d24 commit 29228a4
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
0 commit comments