Architecting Weblate: Managing Asynchronous Translation and Data Consistency
Discover how Weblate separates UI and heavy file parsing with Celery, Redis, and PostgreSQL, and learn operational checks to keep the translation pipeline healthy.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Discover how Weblate separates UI and heavy file parsing with Celery, Redis, and PostgreSQL, and learn operational checks to keep the translation pipeline healthy.
Stop the N+1 query problem in Django. Learn exactly when to use select_related for JOINs and prefetch_related for batch loading to optimize your database performance.
Explore Django’s built‑in authentication stack: requirements, minimal architecture, trust boundaries, operational checks, failure modes, and when a redesign is needed. Practical examples and verification steps included.
Learn how to use Django Class-Based Generic Views to eliminate repetitive CRUD code, implement filtered querysets, and handle pagination for better performance.
Eliminate Django N+1 queries by mastering select_related for FK/OneToOne and prefetch_related for M2M. See a concrete example, trade‑offs, and how to profile before deploying.
When using Django REST Framework’s browsable API, the automatically generated HTML forms for create and update actions lack explicit labels and ARIA attributes that screen‑reader users rely on, and keyboard focus can become trapped in nested divs. I want to improve accessibility by associating each form field with a <label> element, adding appropriate
Context In a Django‑REST‑Framework (DRF) project, the default exception_handler can be overridden to funnel all unhandled exceptions into a custom logger. The standard Django logging framework offers an EmailHandler that can be wired to send alerts when a log record reaches a certain level. By combining a custom exception handler with a logging filter that e
I am trying to run my Django app (Nginx, Gunicorn) in docker. But for request http://167.99.137.32/admin/ I have error: (full log https://pastebin.com/0f8CqCQM ) onnection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (::1), p
I am trying to run a Django project with Postgres database. I use Postgres 13.4 installed via postgressapp (UNIVERSAL with all currently supported versions) and python 3.9 (in venv). I work on Mac with Apple M1 chip, macOS Big Sur. I faced the following well-known problem: django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: dlopen(/Us