django-planet

What's new in Django community blogs?

Django inclusion tags can modify page context 🀯

March 23, 2023 » » [Archived Version]

Somehwat surprising behavior that could trip you up and cause confusion while using custom template tags.

Read More

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