Skip to content

Instantly share code, notes, and snippets.

@gustavofonseca
Created February 25, 2011 22:07
Show Gist options
  • Save gustavofonseca/844596 to your computer and use it in GitHub Desktop.
Save gustavofonseca/844596 to your computer and use it in GitHub Desktop.
from isisdm.mapper import Document
from isisdm.mapper import TextField, NumberField, DateTimeField
class Livro(Document):
titulo = TextField(required=True, repeatable=True)
data = DateTimeField()
total_paginas = NumberField()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment