Skip to content

Add Link to redirect to external pages or parent app #965

@wangxin688

Description

@wangxin688

Checklist

  • There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.

Use case: sqladmin is built on top of starlette and when it's mounted to fastapi as a sub-app, sqladmin can share the same session middleware with fastapi app, fastapi can add a redirect route page to admin page. But seems there's no way to redirect back to fastapi home page in Admin. Even I define custom views or pages it's not work.
So if aLink(external_url="/home") or Link(external_url="https://absolute.path.com")model can be register to Admin will be helpful.

Describe the solution you would like.

No response

Describe alternatives you considered

No response

Additional context

No response

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