SGA API
- class sga.api.sga_components_viewsets.DangerIndicationAPI(**kwargs)[fuente]
- serializer_class
alias de
DangerIndicationSerializer
- class sga.api.sga_components_viewsets.DangerIndicationTableView(**kwargs)[fuente]
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
DangerIndicationDataTableSerializer
- class sga.api.sga_components_viewsets.PrudenceAdviceAPI(**kwargs)[fuente]
- serializer_class
alias de
PrudenceAdviceSerializer
- class sga.api.sga_components_viewsets.PrudenceAdviceTableView(**kwargs)[fuente]
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
PrudenceAdviceDataTableSerializer
- class sga.api.sga_components_viewsets.WarningWordAPI(**kwargs)[fuente]
- serializer_class
alias de
WarningWordSerializer
- class sga.api.sga_components_viewsets.WarningWordTableView(**kwargs)[fuente]
- pagination_class
alias de
LimitOffsetPagination
- serializer_class
alias de
WarningWordDataTableSerializer
- class sga.api.substance_viewset.SubstanceViewSet(**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
SubstanceDataTableSerializer
- class sga.api.review_flow_substance.ReviewSubstanceViewSet(**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_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
ReviewSubstanceDataTableSerializer
- class sga.api.labels_viewset.DisplayLabelViewSet(**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
DisplayLabelDataTableSerializer
- class sga.api.recipients_viewset.RecipientSizeAPI(**kwargs)[fuente]
- serializer_class
alias de
RecipientSizeDataTableSerializer