def lookups(self, request, model_admin):
User = get_user_model()<EOL>output = []<EOL>for i in models.Model.objects.values('<STR_LIT>').distinct():<EOL><INDENT>pk = i['<STR_LIT>']<EOL>if pk is not None:<EOL><INDENT>output.append([pk, User.objects.get(pk=pk).__str__])<EOL><DEDENT><DEDENT>return output<EOL>
Returns a list of tuples. The first element in each
tuple is the coded value for the option that will
appear in the URL query. The second element is the
human-readable name for the option that will appear
in the right sidebar.