I want to get the object as follows:
Collection.objects.get(name='name', type='library', owner=owner, parent=parent)
Unfortunately type, this is a keyword, so the following error is generated:
KeyError at /forms/create_library
type
Is there a way to eliminate the meaning of the word typeso that I can indicate the field of this name?
source
share