please help me !django admin search bar add placeholder variable and how to call it in modelAdmin! HELP!

2016-01-17 Thread superzhang16
I want to add placeholder to search bar .First,I override the template change_list.html and find the search bar ,I know add attribute placeholder ,and I defined a variable placeholder={{'''search_tip'}} to placeholder, as my app has three searchbar in different modelAdmin, I want to change the c

django admin search bar add placeholder variable and how to call it in modelAdmin

2016-01-15 Thread superzhang16
I want to add placeholder to search bar .First,I override the template change_list.html and find the search bar ,I know add attribute placeholder ,and I defined a variable placeholder={{'''search_tip'}}to placeholder, as my app has three searchbar in different modelAdmin, I want to change the c