Skip to content

Commit

Permalink
Merge pull request #413 from johnthagen/django-4.1-default-app-config
Browse files Browse the repository at this point in the history
Fix RemovedInDjango41Warning related to default_app_config
  • Loading branch information
johnthagen committed Dec 19, 2021
2 parents bdc9ab5 + 41dd32c commit 7608a20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dbbackup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
"Management commands to help backup and restore a project database and media"
"""Management commands to help backup and restore a project database and media"""

import django

VERSION = (3, 3, 0)
__version__ = '.'.join([str(i) for i in VERSION])
__author__ = 'Michael Shepanski'
__email__ = 'mjs7231@gmail.com'
__url__ = 'https://github.com/django-dbbackup/django-dbbackup'
default_app_config = 'dbbackup.apps.DbbackupConfig'

if django.VERSION < (3, 2):
default_app_config = 'dbbackup.apps.DbbackupConfig'
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
Unreleased
-----------

* Fix RemovedInDjango41Warning related to default_app_config `#413`_
* Add authentication database support for MongoDB `#379`_
* Remove six dependency `#371`_
* Explicitly support Python 3.6+. `#408`_
Expand Down Expand Up @@ -59,3 +60,4 @@ Unreleased
.. _`#371`: https://github.com/django-dbbackup/django-dbbackup/pull/371
.. _`#379`: https://github.com/django-dbbackup/django-dbbackup/pull/379
.. _`#411`: https://github.com/django-dbbackup/django-dbbackup/pull/411
.. _`#413`: https://github.com/django-dbbackup/django-dbbackup/pull/413

0 comments on commit 7608a20

Please sign in to comment.