Replies: 1 comment
-
|
I was also looking to do above as you mentioned. You can only give a CustomView to the index view. So i created a Custom View that redirects to the model view url I want. You can see example below: Now use that when you initialize admin. I have redirected to the list url of my StoreItemView. Find out the url of your AdminUserView and change it accordingly. I don't know if this is a good practice or not, but it gets my work done. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just started using starlette-admin for my FastAPI project, and so far it has been working very well for me. However, one thing I've been trying to do is using a ModelView as Index.
In the code above, I would like for a user to login, then immediately see AdminUserView as index instead of a blank page. Can someone please give me some pointers on how to achieve this?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions