2016-07-15 00:02:56 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from __future__ import division
|
|
|
|
from __future__ import print_function
|
2016-05-26 22:44:10 +02:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
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'),
|
2016-05-21 23:57:36 +02:00
|
|
|
autocomplete_js_attributes={'placeholder': 'membre...'})
|