V
V
Vic Shostak2017-02-25 11:36:01
Django
Vic Shostak, 2017-02-25 11:36:01

How to do custom registration + authorization in Django 1.10 (Python 3.6)?

Good day!
I just started to understand this wonderful web framework and, of course, I had questions. I am learning from the example of developing a "yet another" service for collective blogs (that is, everything is standard: registration, authorization, writing to my blog, commenting on my / others' posts).
And there are three questions right at the start:

  1. How to make custom user registration (fields: email, name, bio, password)?
  2. How to authorize registered users (by fields emailand password)?
  3. How to validate all this (at least primitively, like “the password is less than 3 characters” and “there is no such user in the database”)?

So there is documentation / snippets , but I would like to see a combat example from production with the opportunity to ask the author a question :) It’s such a thing .. it’s better to understand “how to do it” once than to read “how it should theoretically be” 100 times .
Thanks in advance! I really hope for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-02-25
@vikkyshostak

djangogirls
learn how to google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question