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

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

src/j/o/JoshuaGoblin-HEAD/mediagoblin/plugins/dogma/views.py   JoshuaGoblin(Download)
from mediagoblin.plugins.dogma_lib.lib import (album_lib, add_to_album, save_pic, get_albums, check_if_ajax, get_uploaded_image,
        convert_to_list_of_dicts, save_member_specific_role, save_member_if_new, store_keywords, get_tagcloud_data)
from mediagoblin.db.models import (MediaEntry, Collection, CollectionItem, User, MediaFile, MediaTag, Tag)
from mediagoblin.user_pages import forms as user_forms
#BAND

src/j/o/JoshuaGoblin-HEAD/mediagoblin/user_pages/lib.py   JoshuaGoblin(Download)
from mediagoblin import mg_globals
from mediagoblin.db.base import Session
from mediagoblin.db.models import (CollectionItem, MediaReport, CommentReport,
                                  MediaComment, MediaEntry)
from mediagoblin.user_pages import forms as user_forms
def add_media_to_collection(collection, media, note=None, commit=True):
    collection_item = CollectionItem()
    collection_item.collection = collection.id
    collection_item.media_entry = media.id
    if note:

src/m/e/mediagoblin-0.6.1/mediagoblin/user_pages/lib.py   mediagoblin(Download)
from mediagoblin import mg_globals
from mediagoblin.db.base import Session
from mediagoblin.db.models import (CollectionItem, MediaReport, CommentReport,
                                  MediaComment, MediaEntry)
from mediagoblin.user_pages import forms as user_forms
def add_media_to_collection(collection, media, note=None, commit=True):
    collection_item = CollectionItem()
    collection_item.collection = collection.id
    collection_item.media_entry = media.id
    if note:

src/j/o/JoshuaGoblin-HEAD/mediagoblin/plugins/dogma_lib/lib.py   JoshuaGoblin(Download)
from mediagoblin.tools import url
from mediagoblin.user_pages.lib import add_media_to_collection
from mediagoblin.db.models import (Collection, CollectionItem, MediaTag, MediaEntry, Tag)
from mediagoblin.db.base import Session
from mediagoblin.plugins.dogma.models import (DogmaBandDB, DogmaAlbumDB, BandAlbumRelationship, BandMemberRelationship, DogmaMemberDB,

src/j/o/JoshuaGoblin-HEAD/mediagoblin/plugins/dogma_routing/views.py   JoshuaGoblin(Download)
 
from mediagoblin import messages, mg_globals
from mediagoblin.db.models import (MediaEntry, MediaTag, Collection,
                                   CollectionItem, User)
from mediagoblin.tools.response import render_to_response, render_404, redirect

src/j/o/JoshuaGoblin-HEAD/mediagoblin/user_pages/views.py   JoshuaGoblin(Download)
 
from mediagoblin import messages, mg_globals
from mediagoblin.db.models import (MediaEntry, MediaTag, Collection,
                                   CollectionItem, User)
from mediagoblin.tools.response import render_to_response, render_404, \

src/m/e/mediagoblin-0.6.1/mediagoblin/user_pages/views.py   mediagoblin(Download)
 
from mediagoblin import messages, mg_globals
from mediagoblin.db.models import (MediaEntry, MediaTag, Collection,
                                   CollectionItem, User)
from mediagoblin.tools.response import render_to_response, render_404, \