Skip to content

Instantly share code, notes, and snippets.

View adinhodovic's full-sized avatar
💻
Working from home

Adin Hodovic adinhodovic

💻
Working from home
View GitHub Profile
@adinhodovic
adinhodovic / admin.py
Last active May 30, 2024 09:48 — forked from noviluni/admin.py
Large Table Paginator for Django: Scale Django admin pages and avoid timeouts.
from django.contrib.admin import ModelAdmin
from .paginator import LargeTablePaginator
class MyTableAdmin(ModelAdmin):
...
large_table_paginator = True
...