These are chat archives for django/django

10th
Jun 2017
Miracle Ayodele
@iammiracle
Jun 10 2017 02:23
hi guys how do i make two authentication system for different users
i am working on a project that requires a different information from an individual user and an agent
Miracle Ayodele
@iammiracle
Jun 10 2017 02:57
what is the best approach to tackle this
John
@flyboy1565
Jun 10 2017 03:24
So you have 2 profiles... agent and customer. Or you want to extend the base user?
Miracle Ayodele
@iammiracle
Jun 10 2017 05:12
@flyboy1565 i have a custom user already
which works for the individual/general user login
so i decided to use the same custom authentication for agents and in my settings i have two AUTHENTICATION_BACKENDS
which i use to login
but the issue is, if i login as a general user and used the login details of the agent, it logs me in
also if i use the login details of agent on general user, it logs me in
i need it to make it login details for general user stick to general
and agent details to agent
Aaron Reisman
@lifeiscontent
Jun 10 2017 05:24
can someone tell me how I can know where the links of each version of a package come from?
like for example, the link to pgcli is: https://files.pythonhosted.org/packages/44/c7/a3a1df56b7eefdbf2aaf833d2856262f075ece87530d98936d4147d3e32e/pgcli-1.5.1.tar.gz but how can I find a newer version of that link?
Nathan A. Patterson
@npatterson85
Jun 10 2017 05:37
@lifeiscontent - Maybe try: https://github.com/dbcli/pgcli
Sharique
@ShariqueFaizi
Jun 10 2017 09:18
anyone worked on django-oscar project
??
Anish Shrestha
@annshress
Jun 10 2017 13:48
Can I have models.EmailField with unique, blank and null all set to True ????
Costantin
@Cosbgn
Jun 10 2017 17:59
Hello everyone, how bad it is to have a shared database for production and development?
I'm debugging some problems I noticed on production and since I use different databases I ended up doing all the debugging directly in production which led me to the idea of using the production database also in my dev app? Is it a terrible idea?
Aarush Verma
@aarushverma96
Jun 10 2017 19:33
anyone plz suggest open source organization for contributing in django
Kyle Mulka
@mulka
Jun 10 2017 19:35
You mean like an open source project that uses Django?
Aarush Verma
@aarushverma96
Jun 10 2017 19:36
Yeah
Kyle Mulka
@mulka
Jun 10 2017 19:38
Maybe check out this list: https://gitlab.com/rosarior/awesome-django
Aarush Verma
@aarushverma96
Jun 10 2017 19:39
thank you @mulka