Skip to content

Commit

Permalink
Merge pull request #91 from adamchainz/fix_warning
Browse files Browse the repository at this point in the history
Prevent RemovedInDjango41Warning
  • Loading branch information
willbarton authored Jan 26, 2022
2 parents 47a9b1a + 295def9 commit a69fc42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## Pending release

### What's new?

- Prevent `RemovedInDjango41Warning` about `default_app_config` for Django 3.2+.

## 5.0.7

### What's new?
Expand Down
6 changes: 5 additions & 1 deletion flags/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
default_app_config = "flags.apps.DjangoFlagsConfig"
import django


if django.VERSION < (3, 2):
default_app_config = "flags.apps.DjangoFlagsConfig"

0 comments on commit a69fc42

Please sign in to comment.