Skip to content

Adding custom api view with HybridRouter fails to list properly in APIRoot view #14

Description

@Isshwarya

This line should be

 try:
                        ret[api_view_key] = reverse(
                            api_view_key,  ============> line fixed, this cannot be url_name as thats a variable from the previous for loop.
                            args=args,
                            kwargs=kwargs,
                            request=request,
                            format=kwargs.get('format', None)
                        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions