Skip to content

Instantly share code, notes, and snippets.

View alexander-jacob's full-sized avatar

Alexander Jacob alexander-jacob

View GitHub Profile
@ckrybus
ckrybus / 1integrate-django-filter-django-tables2-django-crispy-forms.md
Last active March 30, 2025 05:44
How to integrate django-crispy-forms, django-tables2 and django-filter in order to display a paginated table with filter functionality.
@drorata
drorata / gist:146ce50807d16fd4a6aa
Last active June 3, 2024 06:00
Minimal Working example of Elasticsearch scrolling using Python client
# Initialize the scroll
page = es.search(
index = 'yourIndex',
doc_type = 'yourType',
scroll = '2m',
search_type = 'scan',
size = 1000,
body = {
# Your query's body
})