Yes, although your model does not appear to be setup in an ideal
manner, which is probably why your form is not coming out the way you
intended. You have no way to store what values the user would pick
even if the form was correct.
You probably need to set up something like this:
class MyClass(models.Model):
COMMON_AMENITIES_CHOICES = (('A', 'Aditional'), ('C', 'Commom'))
type = models.CharField(u'type', max_length=1,
choices=COMMON_AMENITIES_CHOICES )
name = moldes.CharField(max_length=250)
common_amenities = models.ManyToManyField(Amenitie,
limit_choices_to={'type_amenitie': 'C'},
related_name='myclass_common_set')
additional_amenities = models.ManyToManyField(Amenitie,
limit_choices_to={'type_amenitie': 'A'},
related_name='myclass_additional_set')
See here for the reference for the ManyToManyField options:
https://docs.djangoproject.com/en/1.8/ref/models/fields/#manytomanyfield
At this point, you may not even need to define a model form (if you
are using Class Based Views). The one generated should be close to the
regular form you outlined above, although you might if you need
additional validation (ie disallow picking additional amenities
without picking common amenities, etc.) or if you need to override the
widgets used in the form rendering.
-James