Did I find the right examples for you? yes no

All Samples(110)  |  Call(38)  |  Derive(0)  |  Import(72)

src/d/j/django-photologue-HEAD/photologue/admin.py   django-photologue(Download)
from django.utils.translation import ungettext, ugettext_lazy as _
 
from .models import Gallery, Photo, GalleryUpload, PhotoEffect, PhotoSize, \
    Watermark
 

src/d/j/django-photologue-2.7/photologue/admin.py   django-photologue(Download)
from django.contrib import admin
from django import forms
from django.conf import settings
 
from .models import Gallery, Photo, GalleryUpload, PhotoEffect, PhotoSize, \

src/d/j/django-frog-1.0.1/frog/uploader.py   django-frog(Download)
from django.contrib.auth.models import User
 
from models import Piece, Image, Video, Gallery, ROOT, FROG_PATH
from common import JsonResponse, Result, getHashForFile
 

src/d/j/django-simpleblog-1.1.9/simpleblog/admin.py   django-simpleblog(Download)
from django.contrib import admin
 
from models import Article, Tag, Comment, Link, Gallery, Image
 
class ImageInline(admin.TabularInline):

src/d/j/django-frog-1.0.1/frog/admin.py   django-frog(Download)
from django.contrib import admin
 
from models import Gallery, Image, Video, Tag
 
class GalleryAdmin(admin.ModelAdmin):

src/t/a/tango-photos-0.2.2/photos/admin.py   tango-photos(Download)
from django.contrib import admin
 
from .forms import GalleryForm
from .models import Gallery, GalleryImage, supports_articles
 

src/a/p/appscale-HEAD/AppServer/lib/django-1.5/tests/regressiontests/admin_views/tests.py   appscale(Download)
 
# local test models
from .models import (Article, BarAccount, CustomArticle, EmptyModel, FooAccount,
    Gallery, ModelWithStringPrimaryKey, Person, Persona, Picture, Podcast,
    Section, Subscriber, Vodcast, Language, Collector, Widget, Grommet,
        filename = file1.name
        file1.close()
        self.gallery = Gallery(name="Test Gallery")
        self.gallery.save()
        self.picture = Picture(name="Test Picture", image=filename, gallery=self.gallery)

src/a/p/appscale-HEAD/AppServer/lib/django-1.4/tests/regressiontests/admin_views/tests.py   appscale(Download)
 
# local test models
from .models import (Article, BarAccount, CustomArticle, EmptyModel, FooAccount,
    Gallery, ModelWithStringPrimaryKey, Person, Persona, Picture, Podcast,
    Section, Subscriber, Vodcast, Language, Collector, Widget, Grommet,
        filename = file1.name
        file1.close()
        self.gallery = Gallery(name="Test Gallery")
        self.gallery.save()
        self.picture = Picture(name="Test Picture", image=filename, gallery=self.gallery)

src/d/j/django-photologue-HEAD/photologue/views.py   django-photologue(Download)
from django.conf import settings
from django.views.generic.dates import ArchiveIndexView, DateDetailView, DayArchiveView, MonthArchiveView, YearArchiveView
from django.views.generic.detail import DetailView
from django.views.generic.list import ListView
from .models import Photo, Gallery

src/d/j/django-photologue-HEAD/photologue/sitemaps.py   django-photologue(Download)
import warnings
from django.contrib.sitemaps import Sitemap
from .models import Gallery, Photo
 
# Note: Gallery and Photo are split, because there are use cases for having galleries

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next