Did I find the right examples for you? yes no

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)

src/h/u/humfrey-0.3.9/humfrey/pingback/views.py   humfrey(Download)
from humfrey.sparql.views import StoreView
 
from .models import InboundPingback
 
class PingbackView(StoreView):
            pingback = InboundPingback.objects.get(slug=InboundPingback.get_slug(source, target))
        except InboundPingback.DoesNotExist:
            pingback = InboundPingback(source=source, target=target)
 
        if pingback.updated and pingback.updated + self.resubmission_period > datetime.datetime.now():

src/h/u/humfrey-HEAD/humfrey/pingback/views.py   humfrey(Download)
from humfrey.sparql.views import StoreView
 
from .models import InboundPingback
 
class PingbackView(StoreView):
            pingback = InboundPingback.objects.get(slug=InboundPingback.get_slug(source, target))
        except InboundPingback.DoesNotExist:
            pingback = InboundPingback(source=source, target=target)
 
        if pingback.updated and pingback.updated + self.resubmission_period > datetime.datetime.now():

src/h/u/humfrey-0.3.9/humfrey/pingback/admin.py   humfrey(Download)
from django.contrib import admin
 
from .models import InboundPingback
 
def queue_pingback(modeladmin, request, queryset):

src/h/u/humfrey-HEAD/humfrey/pingback/admin.py   humfrey(Download)
from django.contrib import admin
 
from .models import InboundPingback
 
def queue_pingback(modeladmin, request, queryset):