from django.contrib import admin
from .models import Alarm

admin.site.register(Alarm)

@@ -53,16 +53,216 @@
  Alarm%0A%0A
+%0Aclass AlarmAdmin(admin.ModelAdmin):%0A    model = Alarm%0A%0A    def get_queryset(self, request):%0A        return super(AlarmAdmin, self).get_queryset(request).select_related('measurement__patient__user')%0A%0A
 admin.si
@@ -278,10 +278,22 @@
 er(Alarm
+, AlarmAdmin
 )%0A

Improve performance @ alarm admin