Blog: REVSYS Blog

Sometimes LFU > LRU

Aug. 17, 2025 » REVSYS Blog » [Archived Version]

Stop letting bot traffic evict your customers' sessions. A simple Redis configuration switch from LRU to LFU solved our crawler problem, with a Django configuration example.

Read More

Boosting SEO with Django Ninja, Pydantic, and JSON-LD

Aug. 7, 2025 » REVSYS Blog » [Archived Version]

At REVSYS, our first attempt at adding JSON-LD to our sites relied on embedding the data in the Django template. For the most part, this has worked fine, and we've had good results from an SEO perspective. But in terms of maintainability, it has not been the most efficient approach. We have now started transitioning to generating the structured data using Django Ninja and Pydantic. As a result, we now have cleaner templates and better maintainability.

Read More

Better Django management commands with django-click and django-typer

June 9, 2025 » REVSYS Blog » [Archived Version]

Writing Django management commands can involve a ton of boilerplate code. But Revsys uses two libraries that cut our management command code in half while making it more readable and powerful: django-click and django-typer.

Read More

Give Your Django Admin X‑Ray Vision—Automatic Dead‑Link Detection

May 29, 2025 » REVSYS Blog » [Archived Version]

Stop link rot before users ever see it: this guide shows how one lightweight app scans your models, flags broken URLs, and slots neatly into any Django workflow.

Read More

What IS a Django App?

May 2, 2025 » REVSYS Blog » [Archived Version]

What IS a Django App?

Read More

How to Add Blazing Fast Search to Your Django Site with Meilisearch

April 21, 2025 » REVSYS Blog » [Archived Version]

How to Add Blazing Fast Search to Your Django Site with Meilisearch

Read More

Redis connections growing unbounded

Aug. 30, 2024 » REVSYS Blog » [Archived Version]

gunicorn+gevent and Celery can be tricky. There is a setting that is often missed that keeps your Redis connections from increasing until they reach the maximum.

Read More

Breaking up django-ninja views

Feb. 5, 2023 » REVSYS Blog » [Archived Version]

Breaking up django-ninja views

Read More

A Tip About DRF Permissions

Feb. 11, 2020 » REVSYS Blog » [Archived Version]

I needed to structure permissions in an API view that had multiple user roles, and I learned about using the & (and), | (or) and ~ (not) operators with Django REST Framework permissions.

Read More

Custom Exceptions in Django REST Framework

Feb. 5, 2020 » REVSYS Blog » [Archived Version]

Custom Exceptions in Django REST Framework

Read More