13 lines
363 B
Python
13 lines
363 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
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...'})
|