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

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

src/d/j/django-cached-hitcount-0.1.9/cached_hitcount/admin.py   django-cached-hitcount(Download)
from django.contrib import admin
 
from cached_hitcount.models import Hit,BlacklistIP
 
class HitAdmin(admin.ModelAdmin):

src/d/j/django-cached-hitcount-0.1.9/cached_hitcount/views.py   django-cached-hitcount(Download)
 
from cached_hitcount.utils import get_ip, get_hitcount_cache, is_cached_hitcount_enabled
from cached_hitcount.models import BlacklistIP
from cached_hitcount.settings import CACHED_HITCOUNT_CACHE_TIMEOUT, CACHED_HITCOUNT_EXCLUDE_IP_ADDRESS