It's a mess to learn this. The best way is to follow someone's example and pick out pieces (login, register, logout) that you need.
Examples:
- TODO: insert my simple example here
- zabmoni's users
Tutorial:
Django Book's big chapter on Authentication, Users and Registration. A little bit of everything. I would consider this to be a good intro, if you have the patience to read through it all thoroughly.
Django User Authentication
- user fields
- user methods
- built-in forms
- group and permission stuff.
Django Sessions
- important SESSIONS settings (see this blog post about my bad session experience)
- session (dictionary) methods
---
The Django Book's Forms.
No comments:
Post a Comment