Last active
September 19, 2017 14:17
-
-
Save petersanchez/ed61b48f7065aaeff99cd83b8c5aedd7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from .mixins import SearchResultsAdminMixin | |
class BlogPostAdmin(SearchResultsAdminMixin, admin.ModelAdmin): | |
search_fields = ['title', 'slug', 'body'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment