django-planet

What's new in Django community blogs?

Searching within an area with GeoDjango and PostGIS 🌎

March 23, 2023 » » [Archived Version]

How to search within a certain area with Postgres and Django.

Read More

Marketing for Developers

March 23, 2023 » » [Archived Version]

How to promote your open-source library as a developer to other developers.

Read More

Prettier URLs with automatic slug generation 🐌

March 23, 2023 » » [Archived Version]

How to create cleaner URLs with slugs in Django.

Read More

Django Reversion + Wagtail = magic πŸ§™

March 23, 2023 » » [Archived Version]

How to use Django Reversion and Wagtail together to audit changes.

Read More

Unique, but obfuscated URLs in Django

March 23, 2023 » » [Archived Version]

How to create unique, but obfuscated URLs in Django.

Read More

Tips

March 23, 2023 » » [Archived Version]

A list of all tips.

Read More

Easily update URL querystrings in a template

March 23, 2023 » » [Archived Version]

How to dynamically update URLs with a template tag.

Read More

March 23, 2023 » » [Archived Version]

Read More

Django: Avoid database queries in template context processors

March 23, 2023 » Adam Johnson » [Archived Version]

Django’s template engine allows you to augment template contexts with context processors. These are functions that take the current request and return a dictionary to be merged into the context: from example.models import HotDog from example.models import HotDogState def hot_dog_stats(request): return { "hot_dogs_eaten": HotDog.objects.filter( state …

Read More

Locomotive Engineer / New Model Field - Building SaaS with Python and Django #156

March 23, 2023 » Django on Matt Layman » [Archived Version]

In this episode, I did another Exercism problem in Python that focused on Python packing and unpacking of arguments. Once the exercise was complete, I started on a new feature with the homeschool app. We added a new model field in preparation for the changes. After that, I removed django-stubs because it wasn’t a good fit for my project.

Read More