forked from DGNum/gestioCOF
7 lines
220 B
Python
7 lines
220 B
Python
|
import autocomplete_light
|
||
|
|
||
|
from django.contrib.auth.models import User
|
||
|
|
||
|
autocomplete_light.register(User, search_fields=('username','first_name','last_name'),
|
||
|
autocomplete_js_attributes={'placeholder': 'membre...'})
|