Skip to content

Commit

Permalink
Fix default_app_config problem with Django >= 3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
lqez committed Jan 12, 2021
1 parent 47d0147 commit cdf674f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions django_summernote/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
__project__ = PROJECT = 'django-summernote'
__author__ = AUTHOR = "django-summernote contributors"


default_app_config = 'django_summernote.apps.DjangoSummernoteConfig'
from django import VERSION as django_version
if django_version < (3, 2):
default_app_config = 'django_summernote.apps.DjangoSummernoteConfig'

0 comments on commit cdf674f

Please sign in to comment.