Skip to content

Commit

Permalink
fix: Remove deprecation warning for auto-app discovery in Django 3.2+ (
Browse files Browse the repository at this point in the history
  • Loading branch information
mnrudkovskyi authored Nov 18, 2023
1 parent 2aae7c8 commit 54748e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion phone_verify/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# -*- coding: utf-8 -*-
import django

default_app_config = "phone_verify.apps.PhoneVerificationConfig"

if django.VERSION < (3, 2):
default_app_config = "phone_verify.apps.PhoneVerificationConfig"

0 comments on commit 54748e0

Please sign in to comment.