You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently the only way to configure renderers is to set the globally. We want a logic that allows to create a PersonCidocRenderer that is only active for the Person routes. Either use an attribute in the renderer class to configure and/or use the name of the class similar to the logic that the renderer now uses to find the correct serializer class.
function in the APIView class that can be used is get_renderer()
The text was updated successfully, but these errors were encountered:
currently the only way to configure renderers is to set the globally. We want a logic that allows to create a
PersonCidocRenderer
that is only active for the Person routes. Either use an attribute in the renderer class to configure and/or use the name of the class similar to the logic that the renderer now uses to find the correct serializer class.function in the
APIView
class that can be used isget_renderer()
The text was updated successfully, but these errors were encountered: