Skip to content

Commit 08fdef5

Browse files
committed
Add response_activity_count in event api
1 parent fe4f027 commit 08fdef5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/drf_views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from django.db import models
1212
from django.db.models import Prefetch, Count, Q
1313
from django.utils import timezone
14+
from django.db.models.functions import Coalesce
1415

1516
from main.utils import is_tableau
1617
from deployments.models import Personnel
@@ -120,6 +121,8 @@
120121
)
121122
from .logger import logger
122123

124+
from deployments.models import EmergencyProject
125+
123126

124127
class DeploymentsByEventViewset(viewsets.ReadOnlyModelViewSet):
125128
serializer_class = DeploymentsByEventSerializer

0 commit comments

Comments
 (0)