2016-07-15 00:02:56 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2016-05-21 23:57:36 +02:00
|
|
|
import autocomplete_light
|
|
|
|
|
|
|
|
from django.contrib.auth.models import User
|
|
|
|
|
2016-07-09 22:31:56 +02:00
|
|
|
autocomplete_light.register(
|
|
|
|
User, search_fields=('username', 'first_name', 'last_name'),
|
2017-01-06 17:26:35 +01:00
|
|
|
attrs={'placeholder': 'membre...'}
|
|
|
|
)
|