Hi,
im trying use same url on 2 actions, but with different parses.
in second function @action will be ignored, and have not effect, it uses
@action from first function
exist way to around it?
example:
@action(methods=['post'], detail=False, parser_classes =
(MultiPartParser,), url_path = r"(?P<group_id>\d+)/users")
def append_from_file(self,req,group_id:int):
...
@append_from_file.mapping.delete
@action(methods=['delete'], detail=False, parser_classes = (JSONParser,),
url_path = r"(?P<group_id>\d+)/users")
def delete_use_list(self,req,group_id:int):
...
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-rest-framework/02498514-e4f8-44a3-a28b-bb0e88f8ae77n%40googlegroups.com.