jimfunk / django-postgresql-netfields

Proper INET and CIDR fields for Django running on PostgreSQL
BSD 3-Clause "New" or "Revised" License
152 stars 65 forks source link

Avoid a deprecation warning #114

Closed gforcada closed 9 months ago

gforcada commented 2 years ago

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

See https://code.djangoproject.com/ticket/31180

Since django 3.2 the warning is shown: https://github.com/django/django/commit/3f2821af6bc48fa8e7970c1ce27bc54c3172545e