Re: Need help in Django User Model customization and authentication

2017-05-18 Thread Ajat Prabha
Thanks for the reply, Scot, I've some questions here: 1. Is setting up groups necessary if I'm creating shared UserProfile? If not, will groups be anyhow beneficial to this new setup? 2. Shall I create shared UserProfile from User? If yes, how can I handle the need for two

Re: Need help in Django User Model customization and authentication

2017-05-18 Thread Ajat Prabha
Thanks for your reply, actually I need two passwords, one being normal alphanumeric and other being PIN-based with proper validation and features provided by Django auth core. Is it possible to do that with just extending User model? On Saturday, 13 May 2017 23:59:14 UTC+5:30, Constantine

Re: Need help in Django User Model customization and authentication

2017-05-14 Thread Scot Hacker
This is a fairly common need in academia, where your users need a different set of profile fields depending on affiliation. And you always end up with edge cases where some people are simultaneously faculty and staff, or even student and faculty, etc. And those "special" people will need to

Re: Need help in Django User Model customization and authentication

2017-05-13 Thread Constantine Covtushenko
Hi Ajat, It was not clear to me why you do not use 'Extending the existing User model' approach, described here . For me it works very well in almost all cases. And if you go that way then

Need help in Django User Model customization and authentication

2017-05-13 Thread Ajat Prabha
Hello everyone, I'm creating a payment gateway to make transactions on my college campus go cashless. It can be used to pay library dues, stationary charges, etc. The user will add money to a central account and then he/she can use that money virtually. I chose Django because of its security.