Buy Premium Membership

MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 8 Lessons (32m) | Size: 78.8 MB

Django provides tools for both authentication and authorization.

Django view authorization is typically done with decorators. This course will show you how to use these view decorators to enforce authorized viewing of pages in your Django site.

Use HttpRequest and HttpRequest.user objects

Authenticate and authorize users

Differentiate between regular, staff, and admin users

Secure a view with the @login_required decorator

Restrict a view to different roles with the @user_passes_test decorator

Use the Django messages framework to notify your users


Buy Membership