The REVSYS Blog

Tips, lessons learned, and news from the REVSYS team on Django, Python, PostgreSQL, and operations.

Pro-Tip

A Tip About DRF Permissions

I needed to structure permissions in an API view that had multiple user roles, and I learned about using the & (and), | (or) and ~ (not) operators with Django REST Framework permissions.

How to Add Django Models to the Wagtail Admin

When working with Wagtail, you might find that you're using Wagtail Page models for some of your database models, but regular Django models for others. In this post, learn how to add your Django models to the Wagtail admin to make managing multiple types of models easier.