Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a shortcut to jump to any model instance #5

Open
knyghty opened this issue Jun 8, 2024 · 0 comments
Open

Add a shortcut to jump to any model instance #5

knyghty opened this issue Jun 8, 2024 · 0 comments

Comments

@knyghty
Copy link
Owner

knyghty commented Jun 8, 2024

I would guess we can somehow hook into search_fields to to have a shortcut that:

When g is pressed followed by c (for change, could be something else?), a dialog should pop up.

This should have a selectable list of models reused from the g l shortcut.

When a model is selected, a new input should appear in which you can type in a string that will run a partial match on that model, probably using the admin's search_fields functionality (somehow).

Then you click choose one of the results and go directly to the change list page for that instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant