Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/m/e/mediagoblin-spaetz-0.3.2.dev/mediagoblin/db/util.py   mediagoblin-spaetz(Download)
        media_entries_for_tag_slug, check_collection_slug_used
else:
    from mediagoblin.db.mongo.util import \
        ObjectId, InvalidId, DESCENDING, atomic_update, \
        check_media_slug_used, media_entries_for_tag_slug

src/m/e/mediagoblin-spaetz-0.3.2.dev/mediagoblin/db/mongo/models.py   mediagoblin-spaetz(Download)
 
from mediagoblin.db.mongo import migrations
from mediagoblin.db.mongo.util import ASCENDING, DESCENDING, ObjectId
from mediagoblin.tools.pagination import Pagination
from mediagoblin.db.mixin import UserMixin, MediaEntryMixin, MediaCommentMixin
    def get_comments(self, ascending=False):
        if ascending:
            order = ASCENDING
        else:
            order = DESCENDING