I want to add placeholder to search bar .First,I override the template change_list.html and find the search bar <input>,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 context of the placeholder by changing the variable..but I don't konw how to call the variable 'search_tip'' in the modelAdmin!
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/95fe6ba5-4c6b-458f-9cb4-15aa5258dea6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.