class OptionalRangedIntegerListModel(models.Model): values = CollectionField( item_type=int, validators=[ItemMinValueValidator(1), ItemMaxValueValidator(5)], blank=True )
class ChoiceStringListModel(models.Model): values = CollectionField( choices=( ('aaa', "AAA"), ('bbb', "BBB"), ('ccc', "CCC"), ('ddd', "DDD"), ) )
class OptionalGroupedChoiceStringListModel(models.Model): values = CollectionField( blank=True, choices=( ( 'Group A', ( ('a1', "A1"), ('a2', "A2"), ) ), ( 'Group B', ( ('b1', "B1"), ('b2', "B2"), ) ) ) )
class OptionalGroupedChoiceIntegerListModel(models.Model): values = CollectionField( item_type=int, blank=True, choices=( ( 'Group 1', ( (11, "1-1"), (12, "1-2"), ) ), ( 'Group 2', ( (21, "2-1"), (22, "2-2"), ) ) ) )
class Imbuements(models.Model): imbuements = CollectionField()
class OptionalIntegerTupleModel(models.Model): values = CollectionField( item_type=int, collection_type=tuple, blank=True )
class DefaultIntegerTupleModel(models.Model): values = CollectionField( item_type=int, collection_type=tuple, blank=True, default=(-1,) )
class IntegerTupleModel(models.Model): values = CollectionField(item_type=int, collection_type=tuple)
class StringListModel(models.Model): values = CollectionField()
class CompletedQuestLines(models.Model): quests = CollectionField()
class DecimalSetModel(models.Model): values = CollectionField(item_type=decimal.Decimal, collection_type=set)
class DefaultStringListModel(models.Model): values = CollectionField(blank=True, default=default_string_list)
class SortedUniqueStringListModel(models.Model): values = CollectionField(sort=True, unique_items=True)
class Max5ItemsStringListModel(models.Model): values = CollectionField(max_items=5)
class Max10CharsStringListModel(models.Model): values = CollectionField(max_length=10)
class Charms(models.Model): charms = CollectionField()
class CompletedCyclopediaMapAreas(models.Model): areas = CollectionField()
class DefaultDecimalSetModel(models.Model): values = CollectionField( item_type=decimal.Decimal, collection_type=set, blank=True, default=default_decimal_set )
class BestiaryProgress(models.Model): u"""Collection of BestiaryEntry instances.""" entries = CollectionField()
class SortedDecimalListModel(models.Model): values = CollectionField(item_type=decimal.Decimal, sort=True)