-
Notifications
You must be signed in to change notification settings - Fork 0
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 search to admin #3
Conversation
1 similar comment
navbuilder/admin.py
Outdated
prepopulated_fields = {"slug": ["title"]} | ||
search_fields = ["title", "slug"] | ||
list_filter = ["menu",] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional comma not required for a list only when using triples with a single value.
.gitignore
Outdated
@@ -10,3 +10,4 @@ coverage.xml | |||
pep8.txt | |||
.tox/ | |||
.coverage | |||
.idea/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather don't add this to all project gitignores, rather add to your global gitignore
@qoda: Just a quick PR to add search to admin.