model hebat
from mongoengine import Document
from mongoengine import DateTimeField, StringField, ReferenceField, ListField
class ContactGroup(Document):
name = StringField(max_length=60, required=True, unique=True)
def __unicode__(self):
return self.name
def __repr__(self):
return self.name
Vivacious Vole