# Path: einfachjabber/extensions.py



from flaskext.couchdb import BooleanField, DateTimeField, Document, \
        DictField, ListField, Mapping, TextField, ViewField
from einfachjabber.extensions import db
        jabber = TextField(),
        website = TextField()
    ))
    clientversion = TextField()
    links = ListField(
        DictField(Mapping.build(
            linktext = TextField(),
            url = TextField()
        ))
    )
    tutorial = ListField(
        DictField(Mapping.build(
            image = TextField(),
            text = TextField()
        ))
    )

    all_tutorials = ViewField('tutorial', '''\
            function (doc) {
                if (doc.doc_type == 'tutorial') {
                    emit(doc._id, doc);
                };
            }''')

db.add_document(TutorialDoc)

class OSList(Document):

    pass


# Path: einfachjabber/extensions.py



# Path: einfachjabber/models.py
from flaskext.couchdb import BooleanField, DateTimeField, Document, \
        DictField, ListField, Mapping, TextField, ViewField
from einfachjabber.extensions import db

        jabber = TextField(),
        website = TextField()
    ))
    clientversion = TextField()
    links = ListField(
        DictField(Mapping.build(
            linktext = TextField(),
            url = TextField()
        ))
    )
    tutorial = ListField(
        DictField(Mapping.build(
            image = TextField(),
            text = TextField()
        ))
    )

    all_tutorials = ViewField('tutorial', '''\
            function (doc) {
                if (doc.doc_type == 'tutorial') {
                    emit(doc._id, doc);
                };
            }''')

db.add_document(TutorialDoc)

class OSList(Document):

    pass


db.add_document(OSList)