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

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

src/d/j/django-hitcount-HEAD/hitcount/actions.py   django-hitcount(Download)
def blacklist_user_agents(modeladmin, request, queryset):
    for obj in queryset:
       ua, created = BlacklistUserAgent.objects.get_or_create(
                        user_agent=obj.user_agent)
       if created: