django-planet

What's new in Django community blogs?

Thoughts on Code Reviews

March 6, 2024 » Anže’s Blog » [Archived Version]

My thoughts on code reviews.

Read More

Deploying Django Apps in Kubernetes

March 5, 2024 » The PyCharm Blog » [Archived Version]

As an open-source container orchestration platform that automates deployment, scaling, and load balancing, Kubernetes offers unparalleled resilience and flexibility in the management of your Django applications. Whether you’re launching a small-scale project or managing a complex application, Kubernetes provides a robust environment to enhance your Django application, ensuring it’s ready to meet the demands of […]

Read More

Speed up Django’s collectstatic command with Collectfasta

March 4, 2024 » JasonGi » [Archived Version]

Django’s collectstatic command (added in Django 1.3 – March 23, 2011) was designed for storage backends where file retrieval was cheap because it was on your local disk. In Django 1.4 (March 23, 2012) Django introduced CachedStaticFilesStorage which would append md5 hashes to the end of files so that you could have multiple versions of … Continue reading "Speed up Django’s collectstatic command with Collectfasta" The post Speed up Django’s collectstatic command wit…

Read More

Django security releases issued: 5.0.3, 4.2.11, and 3.2.25

March 4, 2024 » The Django weblog » [Archived Version]

In accordance with our security release policy, the Django team is issuing Django 5.0.3, Django 4.2.11, and Django 3.2.25. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words() django.utils.text.Truncator.words() method (with html=True) and truncatewords_html template filter were subject to a potential regular expression de…

Read More

What if you don’t use Homebrew?

March 3, 2024 » Carlton's latest posts. » [Archived Version]

I use a 2021 MacBook Pro. When I got it, I decided not to use a system package manager, specifically Homebrew, but I wasn’t in the market for MacPorts or anything else either. I keep my Macs for a long time. The previous was a 2013 model. I used Homebrew, I think, for its whole life, and I’d had enough of decisions it makes, and makes for me. I lost count of the number of times I’d go to try a new tool, and find it updating seemingly every installed package, at great loss of time, and subtle b…

Read More

Django News - 28 PRs Merged into Django This Week! - Mar 1st 2024

March 1, 2024 » Django News » [Archived Version]

News DjangoCon US 2024 CFP and Opportunity Grants are open! DjangoCon US 2024's Call for Proposals and Opportunity Grants programs are now open until April 24, 2024. djangocon.us PSF News: White House recommends use of memory-safe languages like Python The White House has recommended the use of memory-safe programming languages like Python. blogspot.com Updates to Django Today 'Updates to Django' is …

Read More

Django REST Framework: Pros and Cons

Feb. 29, 2024 » TestDriven.io » [Archived Version]

This article looks at the pros and cons of using Django REST Framework for building RESTful APIS with Django.

Read More

When PyCharm Deletes Poetry Virtual Environments: The Fix

Feb. 29, 2024 » timonweb.com » [Archived Version]

I use PyCharm as my Python IDE and Poetry for dependency and virtual environment management. However, the magnificent combination of these tools occasionally encounters a weird issue: PyCharm deletes the Poetry virtual environment when you launch the IDE.  Though the problem occurs infrequently, when it does, it leads to a … Read now

Read More

Safely rewriting complex code

Feb. 29, 2024 » Screaming At My Screen » [Archived Version]

There is a lot of advice out there suggesting to never rewrite anything. Just improve it in small increments. This is sound advice for services, modules or large chunks of code. Yet sometimes rewriting a complex part of your system will be inevitable. This does not mean the above advice does not apply. You still want to minimise risk and potentially try to ship smaller increments instead of rewriting 2000 lines of code in one go. No matter how big you deside to make the change, some guardrails …

Read More

Python Package Manager Comparison 📦

Feb. 29, 2024 » » [Archived Version]

Comparing the different Python package managers in 2023.

Read More