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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/d/j/django-hitcount-HEAD/hitcount/views.py   django-hitcount(Download)
 
from hitcount.utils import get_ip
from hitcount.models import Hit, HitCount, BlacklistIP, BlacklistUserAgent
 
def _update_hit_count(request, hitcount):

src/d/j/django-hitcount-HEAD/hitcount/admin.py   django-hitcount(Download)
from django.contrib import admin
 
from hitcount.models import Hit, HitCount, BlacklistIP, BlacklistUserAgent
from hitcount import actions
 

src/d/j/django-hitcount-HEAD/hitcount/actions.py   django-hitcount(Download)
from django.core.exceptions import PermissionDenied
from hitcount.models import BlacklistIP, BlacklistUserAgent
 
def blacklist_ips(modeladmin, request, queryset):
    for obj in queryset: