Did I find the right examples for you? yes no

All Samples(112)  |  Call(11)  |  Derive(0)  |  Import(101)
A link posted to a subreddit.

src/a/c/acid-HEAD/demo/redcache/import2.py   acid(Download)
        if not link:
            stats['links'] += 1
            link = models.Link(id=link_id,

src/h/u/hubplus-HEAD/apps/plus_links/tests.py   hubplus(Download)
from django.db import models
from django.contrib.auth.models import *
from models import Service, Link, get_links_for, ListOfLinks
    def test_links(self) :
        twitter = Service(name='twitter', url='http://www.twitter.com')
        u,p = self.make_profile('bob')
        link= Link(service=twitter, url='http://www.twitter.com/bob', text='@bob at Twitter', owner=p)
        self.assertEquals(count(get_links_for(p)) ,1)
        link2 = Link(url='http://myblog.blogger.com', text='my blog', owner=p)
    def xtest_ordered_list(self) :
        u,p = self.make_profile('rowena')
        home = Link(url='htp://mysite/com', text='My Site', owner=p)
        flickr = Service(name='Flickr')
        flickr_pics = Link(service=flickr, text='More Photos', url='http://www.flickr.com/ropix', owner=p)

src/v/n/vns-HEAD/web/vnswww/admin.py   vns(Download)
from django.contrib import admin
from models import Simulator, Organization, UserProfile, UsageStats, \
                   TopologyTemplate, Node, WebServer, WebServerPath, Port, Link, \
                   Topology, TopologySourceIPFilter, TopologyUserFilter, \
                   IPAssignment, MACAssignment, IPBlock, IPBlockAllocation, \

src/q/u/quokka-0.2.0/quokka/core/admin/__init__.py   quokka(Download)
from flask.ext.admin import Admin
from ..models import (Link, Config, SubContentPurpose, ChannelType,
                      ContentTemplateType, Channel)

src/c/o/CollectorCity-Market-Place-HEAD/stores/apps/blog_pages/views.py   CollectorCity-Market-Place(Download)
from forms import PostForm, HomeForm, AboutForm, PageForm, LinkForm, DynamicPageForm
from models import Post, Page, Home, About, Menu, Link, DynamicPageContent
from core.decorators import shop_admin_required, add_page_feature_enabled

src/c/o/CollectorCity-Market-Place-HEAD/stores/apps/blog_pages/forms.py   CollectorCity-Market-Place(Download)
from django.forms import ModelForm
from models import Post, Home, About, Page, Link, DynamicPageContent

src/i/m/imtx-HEAD/imtx/apps/blog/admin.py   imtx(Download)
from django.conf import settings
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from models import Category, Post, Link, Profile, Media, Menu

src/b/o/bottle-fever-HEAD/controllers/feeds.py   bottle-fever(Download)
log = logging.getLogger()
from models import Feed, Item, Link, Reference, Favicon, db
from peewee import fn
from config import settings

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/e/denigma-HEAD/denigma/apps/links/forms.py   denigma(Download)
from experts.models import Profile
from models import Link, Category, Country

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