Category: Recipes

Permission checking in Django views

Permission checking in Django views

When using the¬†django.contrib.auth application in your project you have a number of options available for permission checking. In this recipe we will go over a number of possibilities provided by Django and offer a custom pattern you can implement. Simple testing of User objects When using function based views in your Django apps you can …

+ Read More