Define field in Django which can be of any type
Define field in Django which can be of any type Question: Pymodm is being used to define my model for the MongoDB collection in Django. I want to declare a field that can store values of any type (List, String, or Integer). from pymodm import MongoModel, fields class DefinitionEntity(MongoModel): version = fields.IntegerField(required=True) …
Total answers: 1