Laboratory API
- class laboratory.api.views.ApiReservationCRUD(**kwargs)[fuente]
- class laboratory.api.views.ApiReservedProductsCRUD(**kwargs)[fuente]
- class laboratory.api.views.CommentAPI(**kwargs)[fuente]
- serializer_class
alias de
CommentsSerializer
- class laboratory.api.views.EquipmentManagementViewset(**kwargs)[fuente]
- filter_queryset(queryset)[fuente]
Given a queryset, filter it with whichever filter backend is in use.
You are unlikely to want to override this method, although you may need to call it either from a list view, or from a custom get_object method if you want to apply the configured filtering backend to the default queryset.
- pagination_class
alias de
LimitOffsetPagination
- class laboratory.api.views.EquipmentTypeManagementViewset(**kwargs)[fuente]
- pagination_class
alias de
LimitOffsetPagination
- class laboratory.api.views.InformViewSet(**kwargs)[fuente]
- get_queryset()[fuente]
Get the list of items for this view. This must be an iterable, and may be a queryset. Defaults to using self.queryset.
This method should always be used rather than accessing self.queryset directly, as self.queryset gets evaluated only once, and those results are cached for all subsequent requests.
You may want to override this if you need to provide different querysets depending on the incoming request.
(Eg. return a list of items that is specific to the user)
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
InformDataTableSerializer
- class laboratory.api.views.InstrumentalFamilyManagementViewset(**kwargs)[fuente]
- pagination_class
alias de
LimitOffsetPagination
- class laboratory.api.views.LogEntryViewSet(**kwargs)[fuente]
- get_queryset()[fuente]
Get the list of items for this view. This must be an iterable, and may be a queryset. Defaults to using self.queryset.
This method should always be used rather than accessing self.queryset directly, as self.queryset gets evaluated only once, and those results are cached for all subsequent requests.
You may want to override this if you need to provide different querysets depending on the incoming request.
(Eg. return a list of items that is specific to the user)
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
LogEntryDataTableSerializer
- class laboratory.api.views.ProtocolViewSet(**kwargs)[fuente]
- filter_queryset(queryset)[fuente]
Given a queryset, filter it with whichever filter backend is in use.
You are unlikely to want to override this method, although you may need to call it either from a list view, or from a custom get_object method if you want to apply the configured filtering backend to the default queryset.
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
ProtocolDataTableSerializer
- class laboratory.api.views.ReactiveManagementViewset(**kwargs)[fuente]
- filter_queryset(queryset)[fuente]
Given a queryset, filter it with whichever filter backend is in use.
You are unlikely to want to override this method, although you may need to call it either from a list view, or from a custom get_object method if you want to apply the configured filtering backend to the default queryset.
- get_serializer_context()[fuente]
Extra context provided to the serializer class.
- pagination_class
alias de
LimitOffsetPagination
- class laboratory.api.views.ShelfList(**kwargs)[fuente]
- dispatch(request, *args, **kwargs)
.dispatch() is pretty much the same as Django’s regular dispatch, but with extra hooks for startup, finalize, and exception handling.
- class laboratory.api.views.ShelfObjectAPI(**kwargs)[fuente]
- class laboratory.api.views.ShelfObjectGraphicAPI(**kwargs)[fuente]
- class laboratory.shelfobject_container.viewsets.ContainerManagementViewset(**kwargs)[fuente]
- get_queryset()[fuente]
Get the list of items for this view. This must be an iterable, and may be a queryset. Defaults to using self.queryset.
This method should always be used rather than accessing self.queryset directly, as self.queryset gets evaluated only once, and those results are cached for all subsequent requests.
You may want to override this if you need to provide different querysets depending on the incoming request.
(Eg. return a list of items that is specific to the user)
- pagination_class
alias de
LimitOffsetPagination