Did I find the right examples for you? yes no

All Samples(150)  |  Call(109)  |  Derive(0)  |  Import(41)

src/f/o/foursquare-codereview-HEAD/codereview/views.py   foursquare-codereview(Download)
  def txn():
    issue = models.Issue(subject=form.cleaned_data['subject'],
                         description=form.cleaned_data['description'],
                         base=base,
                         repo_guid=form.cleaned_data['repo_guid'],

src/l/e/leetveld-HEAD/src/leetveld/codereview/views.py   leetveld(Download)
  def txn():
    issue = models.Issue(subject=form.cleaned_data['subject'],
                         description=form.cleaned_data['description'],
                         base=base,
                         reviewers=reviewers,

src/k/i/kimpine-HEAD/codereview/views.py   kimpine(Download)
  def txn():
    issue = models.Issue(subject=form.cleaned_data['subject'],
                         description=form.cleaned_data['description'],
                         reviewers=reviewers,
                         owner=request.user,

src/r/e/releases-HEAD/releases/__init__.py   releases(Download)
 
 
from .models import Issue, ISSUE_TYPES, Release
 
 
        # Create temporary node w/ data & final nodes to publish
        node = Issue(
            number=issue_no,
            type_=name,
            nodelist=nodelist,
        log("Found line item w/ no real issue object, creating bug")
        focus = Issue(
            type_='bug',
            nodelist=issue_nodelist('bug'),
            description=nodes.list_item('', nodes.paragraph('', '', focus)),

src/f/i/fixmysite-HEAD/main.py   fixmysite(Download)
 
from lib import slugify
from models import Site, Issue, Comment
 
class Index(webapp.RequestHandler):
 
        issue = Issue(
            title = title,
            description = description,
            site = site,

src/a/p/appengine-bugs-HEAD/main.py   appengine-bugs(Download)
from lib import BaseRequest, get_cache, slugify
import settings
from models import Project, Issue
from ext.PyRSS2Gen import RSS2, RSSItem
 
            if Issue.all().filter('name =', name).filter('project =', project).count() == 0:
                issue = Issue(
                    name=name,
                    description=description,
                    project=project,

src/d/j/django-periodicals-0.8.0/periodicals/views.py   django-periodicals(Download)
from captcha.fields import ReCaptchaField
 
from .models import Author, Periodical, Issue, Article, LinkItem
 
settings.PERIODICALS_PAGINATION = getattr(settings, 'PERIODICALS_PAGINATION', 20)

src/d/j/django-periodicals-0.8.0/periodicals/admin.py   django-periodicals(Download)
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.contrib.contenttypes import generic
from .models import Author, Periodical, Issue, Article, LinkItem
 

src/d/j/django-periodicals-0.8.0/periodicals/sitemaps.py   django-periodicals(Download)
# -*- coding: utf-8 -*-
from django.contrib.sitemaps import GenericSitemap
from .models import Author, Periodical, Issue, Article
from tagging.models import Tag
 

src/a/p/appscale-HEAD/AppServer/lib/django-1.5/tests/modeltests/m2m_and_m2o/tests.py   appscale(Download)
from django.test import TestCase
 
from .models import Issue, User, UnicodeReferenceModel
 
 
    def test_m2m_and_m2o(self):
        r = User.objects.create(username="russell")
        g = User.objects.create(username="gustav")
 
        i1 = Issue(num=1)
        i1.client = r
        i1.save()
 
        i2 = Issue(num=2)
        i2.cc.add(r)
 
        i3 = Issue(num=3)
        i3.client = g
        i3.save()

  1 | 2 | 3 | 4 | 5  Next