Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.343 kb
import autocomplete_light
from autocomplete_light.contrib.generic_m2m import GenericModelForm, \
GenericManyToMany
from models import ModelGroup
class ModelGroupForm(GenericModelForm):
related = GenericManyToMany(
widget=autocomplete_light.AutocompleteWidget('MyGenericChannel'))
class Meta:
model = ModelGroup
Jump to Line
Something went wrong with that request. Please try again.