1
I can’t repeat that. Using your models, with additional name
fields:
>>> from models import Collection, Item, CollectionItem
>>> c = Collection.objects.create(name='coll1')
>>> c.collectionitem_set.all()
[]
Source:stackexchange.com
1
I can’t repeat that. Using your models, with additional name
fields:
>>> from models import Collection, Item, CollectionItem
>>> c = Collection.objects.create(name='coll1')
>>> c.collectionitem_set.all()
[]