Did I find the right examples for you? yes no

All Samples(154)  |  Call(67)  |  Derive(11)  |  Import(76)
Media class. The multimedia element belongs to a review.

src/a/p/appscale-HEAD/AppServer/lib/django-1.3/tests/regressiontests/generic_inline_admin/tests.py   appscale(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/g/o/google-app-engine-HEAD/lib/django-1.3/tests/regressiontests/generic_inline_admin/tests.py   google-app-engine(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/g/o/googleappengine-python-HEAD/lib/django-1.3/tests/regressiontests/generic_inline_admin/tests.py   googleappengine-python(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/a/p/appscale-HEAD/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py   appscale(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/l/e/lettuce-HEAD/tests/integration/lib/Django-1.3/tests/regressiontests/generic_inline_admin/tests.py   lettuce(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/g/o/google-app-engine-HEAD/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py   google-app-engine(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/n/e/neutron-drive-HEAD/google_appengine/lib/django_1_3/tests/regressiontests/generic_inline_admin/tests.py   neutron-drive(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/g/o/googleappengine-python-HEAD/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py   googleappengine-python(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/n/o/noc-0.7(3)/contrib/src/django/tests/regressiontests/generic_inline_admin/tests.py   noc(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

src/o/h/oh-mainline-HEAD/vendor/packages/Django/tests/regressiontests/generic_inline_admin/tests.py   oh-mainline(Download)
 
# local test models
from models import Episode, EpisodeExtra, EpisodeMaxNum, EpisodeExclude, \
                   Media, EpisodePermanent, MediaPermanentInline, Category
 
        e = Episode.objects.create(name='This Week in Django')
        self.episode_pk = e.pk
        m = Media(content_object=e, url='http://example.com/podcast.mp3')
        m.save()
        self.mp3_media_pk = m.pk
 
        m = Media(content_object=e, url='http://example.com/logo.png')

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