Did I find the right examples for you? yes no

All Samples(10)  |  Call(1)  |  Derive(0)  |  Import(9)

src/d/j/django_fabv-0.1.1/django_fabv/middleware.py   django_fabv(Download)
from datetime import datetime, timedelta
from django.conf import settings
from models import Hit, User
 
ID_NAME = "id"
        username = ""
    try:
        h = Hit(user=request.fabv_user, username=username,
                path=request.path[:200],
                status_code=response.status_code,

src/d/j/django-email-notification-1.3/notification/admin.py   django-email-notification(Download)
from django.utils.translation import ugettext_lazy as _
 
from .models import SimpleRegistration, Notification, RecipientGroup, Hit, GetAttrMixin, Item
 
 

src/d/j/django_fabv-0.1.1/django_fabv/admin.py   django_fabv(Download)
from django.contrib import admin
from django.contrib.admin import SimpleListFilter
from django.utils.translation import ugettext as _
from django.db.models import Q
from models import Experiment, Test, User, Hit, Goal, Choice

src/d/j/django-email-notification-1.3/notification/views.py   django-email-notification(Download)
 
from .forms import SimpleRegistrationForm, NotificationForm
from .models import Notification, SimpleRegistration, Item, Hit
 
 

src/c/r/CrowdForge-HEAD/crowdforge/views.py   CrowdForge(Download)
from django.shortcuts import render_to_response, get_object_or_404
from django.http import Http404
from django.utils import simplejson as json
 
from models import Hit, Problem, Result

src/d/j/django_hits-0.2.0-2/django_hits/utils.py   django_hits(Download)
from .models import Hit, HitHistory
 
def create_hit_history(hit):
    try:
        last_history = hit.history.order_by('-when', '-pk')[0]

src/d/j/django_hits-0.2.0-2/django_hits/management/commands/hits_create_history.py   django_hits(Download)
    def handle(self, *filenames, **options):
        from ...models import Hit
        from ...utils import create_hit_history
 
        queryset = Hit.objects.all()

src/d/j/django-email-notification-1.3/test_project/notification/views.py   django-email-notification(Download)
 
from .forms import SimpleRegistrationForm, NotificationForm
from .models import Notification, SimpleRegistration, Item, Hit
 
 

src/d/j/django-email-notification-1.3/test_project/notification/admin.py   django-email-notification(Download)
from django.utils.translation import ugettext_lazy as _
 
from .models import SimpleRegistration, Notification, RecipientGroup, Hit, GetAttrMixin, Item