default_app_config = "psqlextra.apps.PostgresExtraAppConfig"

import django

if django.VERSION < (3, 2):  # pragma: no cover
    default_app_config = "psqlextra.apps.PostgresExtraAppConfig"

Remove default_app_config for Django 3.2 and newer
Remove default_app_config for Django 3.2 and newer

RemovedInDjango41Warning: 'psqlextra' defines default_app_config = 'psqlextra.apps.PostgresExtraAppConfig'. Django now detects this configuration automatically. You can remove default_app_config.

- default_app_config = "psqlextra.apps.PostgresExtraAppConfig"
+ import django
  
+ if django.VERSION < (3, 2):  # pragma: no cover
+     default_app_config = "psqlextra.apps.PostgresExtraAppConfig"
+ 
Remove default_app_config for Django 3.2 and newer
## Code Before:
default_app_config = "psqlextra.apps.PostgresExtraAppConfig"

## Instruction:
Remove default_app_config for Django 3.2 and newer
## Code After:
import django

if django.VERSION < (3, 2):  # pragma: no cover
    default_app_config = "psqlextra.apps.PostgresExtraAppConfig"
