Skip to content

Commit

Permalink
Merge branch 'main' into drf
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy authored Oct 15, 2022
2 parents 25b6e83 + dd097fc commit 674126a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion actstream/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def is_installed(model_class):
"""
Returns True if a model_class is installed.
"""
return model_class._meta.installed
return model_class._meta.app_config is not None


def validate(model_class, exception_class=ImproperlyConfigured):
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist =
py{37,38,39}-django32-{mysql,postgres,sqlite}
py{38,39}-django40-{mysql,postgres,sqlite}
py{38,39}-django41-{mysql,postgres,sqlite}
toxworkdir=/tmp/.tox

[testenv]
Expand All @@ -18,6 +19,7 @@ deps =
coverage>=4.5.1
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
mysql: mysqlclient>=2.0.0
mysql: django-mysql>=2.4.1
postgres: psycopg2-binary>=2.8
Expand Down

0 comments on commit 674126a

Please sign in to comment.