Django community: Django links RSS
This page, updated regularly, aggregates Django links from the Django community.
-
Build a Flashcards App With Django
-
Kubernetes-supercharged Django Applications
-
dotaliases: Helpful bash aliases for true professionals.
https://news.ycombinator.com/item?id=32235115 https://news.ycombinator.com/item?id=11234269 -
Hosting a Wagtail site on Digital Ocean with CapRover
Setting up a development environment using PostgreSQL with Docker and then creating a production instance hosted on Digital Ocean using CapRover. -
Rent Free Media
"Rent Free Media is a publishing distribution of Wagtail + Django aimed specifically at content creators who might otherwise use platforms such as Patreon, Substack, and Apple Podcasts. With it you can publish any sort of content to subscription users, as those services allow you to do." -
Modal forms with Django+HTMX | Good Code Smell
-
azavea/django-ecsmanage: Run any Django management command on an AWS Elastic Container Service (ECS) cluster.
-
Elegant Database Migrations on ECS | by Adam Stepinski | Instawork Engineering
-
Lukas-Schillinger/django-queryset-feeler: tools to help understand how django querysets are executed
tools to help understand how django querysets are executed - Lukas-Schillinger/django-queryset-feeler: tools to help understand how django querysets are executed -
Boost Your Django DX
"During my years working with Django, I’ve picked up many tools and techniques to boost my Developer Experience, or DX. This book covers as many of these as possible, so you can learn them too!" - Adam Johnson -
python - Django filter queryset __in for *every* item in list - Stack Overflow
-
AdemHodzic/get-django-saas-template: Get Django SaaS is a minimalistic Django + Vue SaaS boilerplate
-
Lukas-Schillinger/django-queryset-feeler: tools to help understand how django querysets are executed
-
storybook-django
Develop Django UI components in isolation, with Storybook -
How to Test Django Models (with Examples)
“Testing your Django models are a good place to start for developers who want to start writing tests. Writing tests will save you time by identifying bugs early.” -
Odoo. oOpen source business apps
“Odoo is a suite of web based open source business apps. The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing” -
Logging in Python: A Developer’s Guide
-
Django Utils | Django documentation | Django
Converts a function decorator into a method decorator. It can be used to decorate methods or classes; in the latter case, name is the name of the method to be decorated and is required. -
python - How to recreate a deleted table with Django Migrations? - Stack Overflow
-
django-admin-extra-buttons
-
Cache miss each time if used on class instance method · Issue #8 · peterbe/django-cache-memoize
-
Django lock decorator with django-redis - Peterbe.com
Here's the code. It's quick-n-dirty but it works wonderfully: import functools import hashlib from django.core.cache import cache from django.utils.encoding import force_bytes def lock_decorator(key_maker=None): """ When you want to lock a function from more than 1 call at a time. """ def decorator(func): @functools.wraps(func) def inner(*args, **kwargs): if key_maker: key = key_maker(*args, **kwargs) else: key = str(args) + str(kwargs) lock_key = hashlib.md5(force_bytes(key)).hexdigest() with cache.lock(lock_key): return func(*args, **kwargs) return inner return decorator -
How to use django-cache-memoize - Peterbe.com
-
uWSGI API - Python decorators — uWSGI 2.0 documentation
uWSGI provides a @spool decorator to create tasks. The uWSGI spooler can be very useful. Compared to Celery or other queues it is very “raw”. The spool decorator will help! It can be used to create and run background tasks in Django. Pretty cool. -
Optimizing the Django Admin Paginator | Haki Benita
I’ve seen this trick before (it’s Postgres specific), but there are many other Django admin optimization articles linked from here as well.