Fix django default appconfig deprecation warning (#141)

pull/147/head
Éric 2021-12-06 16:33:33 -05:00 committed by GitHub
parent 1b28c183f0
commit 294f8520ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import django
default_app_config = 'admin_interface.apps.AdminInterfaceConfig'
if django.VERSION < (3, 2):
default_app_config = 'admin_interface.apps.AdminInterfaceConfig'