Delivered once every Week. No Spam Ever.

Issue - 42

Worthy Read

Subtests were introduced in Python 3.4, and a few uses are briefly covered in the Python documentation. However, there are many more uses that have made my testing better. Their value is probably best seen through an examples. Examples make use of django.test.

Giving your users the ability to delete objects from your database is a risky proposition?—?some types of objects are low risk, but others, no matter how much you warn them of the risks of deleting things, will lead to customer requests. You know the kind?—?“So, I deleted this thing, but I didn’t mean to and now I really need it back…can you recover it?”

It is often useful to get the status of services from the perspective of the application that needs them. django vitals provides a simple mechanism for writing a running health checks. These checks can then be exposed via an endpoint:

Full-stack error monitoring and analytics for developers

Role Based Access Control is an approach to provide restrictive access to users in a system based on their role in the organization. It is a major feature which can make your application access refined and obviously more secure. Django provides authentication and authorization features out of the box that youcan leverage to build a role based access control. Django user authentication has built-in models like User, Group and Permission that can help us get granular access control needed by your application.

All of the examples use Django 1.11 and Python 3.5.2. Each one adds a zip_code field to the User model as a CharField to keep it simple, and in the first two options, I make the email field the username .


sous-chef - 32 Stars, 43 Fork
Sous-Chef is a web application to help organisations to plan and deliver meals, and to manage clients files.

extrade - 4 Stars, 0 Fork
Crypto exchange service on Django.

django-read-only-admin - 0 Stars, 0 Fork
django-read-only-admin is a django reusable application that fully implement read only admin.