O'Reilly logo

Sams Teach Yourself Django in 24 Hours by Brad Dayley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Managing Site Users

<feature><title>What You’ll Learn in This Hour</title> <objective>

How to create User objects in your views

</objective>
<objective>

How to add Group objects to the website and assign them to users

</objective>
<objective>

How to create custom permissions in the model

</objective>
<objective>

How to assign permissions to users and groups

</objective>
</feature>

So far in this book, we have neglected one of the most basic parts of most websites—registration and authentication. Django includes several components that aid in registration and authentication.

This hour discusses getting started with the registration and authentication process. We will cover creating User and Group objects as well as adding custom permissions to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required