Skip to content

Instantly share code, notes, and snippets.

@d0ugal
Created April 25, 2011 11:32
Show Gist options
  • Save d0ugal/940396 to your computer and use it in GitHub Desktop.
Save d0ugal/940396 to your computer and use it in GitHub Desktop.
API thoughts.
from django.contrib.auth.models import User
from django_automcomplete import Autocomplete
class UserAutocomplete(Autocomplete):
fields = ('username',)
class Meta:
models = User
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment