S
S
sazhyk2016-06-28 09:03:44
Django
sazhyk, 2016-06-28 09:03:44

How to create a personal account on the site?

Friends, share your experience, how did you implement the user's personal account on the site?
To be a little more precise, let's just take a page, it is also a page with a login form, then only personal user accounts. Should I use the built-in users in Django or write my own, given that registration is simple with email and password?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Артём Иннокентьев, 2016-06-28
@sazhyk

Можете сами написать, либо использовать готовые пакеты:
django-custom-user
django-authtools
Лично я, использовал django-authtools для личного кабинета.

A
Alexey Sergeev, 2016-06-28
@SergeevAI

I would take the standard Users model and add a Profile to it, through the O2O Field.
In view decorator @login_requiredand render to data template after request.user check

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question