summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/samples/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lcm/samples/views.py b/lcm/samples/views.py
index eb6941c1..cec3209e 100644
--- a/lcm/samples/views.py
+++ b/lcm/samples/views.py
@@ -18,6 +18,7 @@ import traceback
from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
+from lcm.pub.database import models
logger = logging.getLogger(__name__)
@@ -27,7 +28,8 @@ class SampleList(APIView):
List all samples.
"""
def get(self, request, format=None):
- logger.debug("get")
+ count = len(models.NSDModel.objects.filter())
+ logger.debug("get, count of NSDModel is %s", count)
return Response({"status": "active"})