mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-14 12:16:31 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
004a3e5e56
1 changed files with 2 additions and 2 deletions
|
@ -16,5 +16,5 @@ from .import_job import ImportJob, ImportItem
|
||||||
from .site import SiteSettings, SiteInvite, PasswordReset
|
from .site import SiteSettings, SiteInvite, PasswordReset
|
||||||
|
|
||||||
cls_members = inspect.getmembers(sys.modules[__name__], inspect.isclass)
|
cls_members = inspect.getmembers(sys.modules[__name__], inspect.isclass)
|
||||||
activity_models = {c[0]: c[1] for c in cls_members \
|
activity_models = {c[1].activity_serializer.__name__: c[0] \
|
||||||
if hasattr(c[1], 'activity_serializer')}
|
for c in cls_members if hasattr(c[1], 'activity_serializer')}
|
||||||
|
|
Loading…
Reference in a new issue