Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(1)  |  Derive(0)  |  Import(4)

src/d/j/django-profiling-0.1/dprofiling/backends/db.py   django-profiling(Download)
from django.core.files import File
 
from dprofiling.models import Session, Profile
 
 
            profile.dump_stats(path)
            log.debug('Profile information dumped to temporary file')
            stored_profile = Profile(session=session, dump=File(temp))
            stored_profile.save()
            log.debug('Profile %d created' % (stored_profile.pk,))

src/d/j/django-profiling-0.1/dprofiling/admin.py   django-profiling(Download)
 
from dprofiling.forms import StatsForm
from dprofiling.models import Session, Profile
from dprofiling.backends import get_backend
 

src/d/j/django-profiling-0.1/dprofiling/signals.py   django-profiling(Download)
from logging import getLogger
 
from django.db.models.signals import pre_delete
 
from dprofiling.models import Profile

src/d/j/django-profiling-0.1/dprofiling/tests/backends/db.py   django-profiling(Download)
 
from dprofiling.backends import get_backend
from dprofiling.models import Session, Profile
from dprofiling.tests import BaseTestCase