Checklist
Is your feature related to a problem? Please describe.
Cant get request.url_for() to make link to another table
Describe the solution you would like.
from starlette.requests import Request
def formatter(
model,
attribute,
request: Request, # this is new argument
):
# `model` is model instance
# `attribute` is a Union[ColumnProperty, RelationshipProperty]
request.url_for('admin:details', identity='sometable', pk=some_id)
Describe alternatives you considered
No response
Additional context
No response
Checklist
Is your feature related to a problem? Please describe.
Cant get request.url_for() to make link to another table
Describe the solution you would like.
Describe alternatives you considered
No response
Additional context
No response