Did I find the right examples for you? yes no

All Samples(7)  |  Call(1)  |  Derive(0)  |  Import(6)

src/d/j/django-eros-0.2.1/eros/views.py   django-eros(Download)
from django.shortcuts import redirect
 
from .models import like, Resource, unlike, Like
from .util import get_ip
from .registry import registry

src/d/j/django-facebook-graph-HEAD/facebook/modules/connections/likes/views.py   django-facebook-graph(Download)
from django.http import Http404, HttpResponse
 
import facebook
from models import Like
 

src/d/j/django-facebook-graph-HEAD/facebook/modules/connections/likes/admin.py   django-facebook-graph(Download)
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from models import Like

src/d/j/django-likeable-HEAD/likeable/views.py   django-likeable(Download)
    import simplejson as json
 
from models import Like
from django.contrib.contenttypes.models import ContentType
from django.contrib.auth.decorators import login_required

src/d/j/django-likeable-HEAD/likeable/tests.py   django-likeable(Download)
from django.contrib.auth.models import User
from django.test import TestCase
from models import Like, Likeable
from views import get_like_view_params
from django.core.management import call_command