Did I find the right examples for you? yes no

All Samples(12)  |  Call(1)  |  Derive(0)  |  Import(11)

src/s/p/spygit-HEAD/spygitapp/pep8.py   spygit(Download)
from fnmatch import fnmatch
 
from models import Error, Run, File, RunError, Line
 
 
        for line in f:
            if (filename, lineno) in lineno_set:
                linetext = Line(file=runfile, line_number=lineno, text=line)
                linetext.save()
            lineno = lineno + 1

src/s/p/spygit-HEAD/spygitapp/admin.py   spygit(Download)
from models import Error, Run, File, RunError, Line
from django.contrib import admin
 
admin.site.register(Error)
admin.site.register(Run)

src/l/a/latimes-pluggablemaps-lametrorail-0.1/la_metro_rail/load.py   latimes-pluggablemaps-lametrorail(Download)
 
    """
    from models import Line, Station, Stop
    [i.delete() for i in Station.objects.all()]
    [i.delete() for i in Stop.objects.all()]
    """
    # Import the database model where we want to store the data
    from models import Line
 
    # A crosswalk between the fields in our database and the fields in our
    """
    # Import the database model where we want to store the data
    from models import Stop, Station, Line
 
    # A crosswalk between the fields in our database and the fields in our
    """
    import csv
    from models import Stop, Station, Line
    from django.template.defaultfilters import slugify
    crosswalk = csv.DictReader(open(crosswalk_file))
    """
    from django.template.defaultfilters import slugify
    from models import Line
    # Loop through everybody...
    for obj in Line.objects.all():

src/l/a/latimes-pluggablemaps-lametrorail-0.1/la_metro_rail/admin.py   latimes-pluggablemaps-lametrorail(Download)
 
# Models
from models import Line, Station, Stop
 
 

src/d/j/Django-1.6.4/tests/m2m_regress/tests.py   Django(Download)
from django.utils import six
 
from .models import (SelfRefer, Tag, TagCollection, Entry, SelfReferChild,
    SelfReferChildSibling, Worksheet, RegressionModelSplit, Line)
 

src/u/p/UP-Manager-0.0.0/tests/m2m_regress/tests.py   UP-Manager(Download)
from django.utils import six
 
from .models import (SelfRefer, Tag, TagCollection, Entry, SelfReferChild,
    SelfReferChildSibling, Worksheet, RegressionModelSplit, Line)
 

src/d/j/django-pyodbc-HEAD/tests/django16/m2m_regress/tests.py   django-pyodbc(Download)
from django.utils import six
 
from .models import (SelfRefer, Tag, TagCollection, Entry, SelfReferChild,
    SelfReferChildSibling, Worksheet, RegressionModelSplit, Line)