Re: Username as email

2019-11-23 Thread Soumen Khatua
Thank you for response, I'll look into it. On Sun, 24 Nov 2019, 11:59 אורי, wrote: > Hi, > > In Speedy Net users can login either with username or with email. And > notice, users may have more than one email address. You can look at the > code on GitHub. You can set function get_by_natural_key

Re: Username as email

2019-11-23 Thread אורי
Hi, In Speedy Net users can login either with username or with email. And notice, users may have more than one email address. You can look at the code on GitHub. You can set function get_by_natural_key in the user manager to find the user by email address. For example: https://github.com/speedy-n

Re: Username as email

2019-11-23 Thread 'Maher, Brian' via Django users
I maintain one project which does this with a save hook on the User model, setting the username to the email address field (with uniqueness tests, of course). It’s crude, but seems to work well and hasn’t given any problems. — Best Regards, Brian Maher Senior Research Software Engineer & Syste

Username as email

2019-11-23 Thread Soumen Khatua
Hi Folks, Any have any idea in real time how programmers manage email id as username only. Because django provide different fields for username and email id. So how I can overcome to this problem?? Thank you in advance. Regards, Soumen -- You received this message because you are subscribed to

Re:

2019-11-23 Thread Paras Jain
bro dont say this i tried to read but i was unable to understand built in function django and this is part of my project its different On Sat, Nov 23, 2019 at 10:24 PM Kasper Laudrup wrote: > Hi Raja, > > On 23/11/2019 17.26, Raja Sekar Sambath wrote: > > Hi, > > request object will have the use

use signals in channels2 - send message when a database field is updated

2019-11-23 Thread Levent Engin
Hi; How can i implement to use signals inside channels2? I want to send message via consumer when a database field is updated. Wiil that be inside consumer or models? Is there a sample or tutorial? Best regards -- You received this message because you are subscribed to the Google Groups "Dj

Re: How to migrate Django site from MySQL database to Postgres?

2019-11-23 Thread Mohammad yunus
Is this "migration" command will work for all type of databases or just only for sqllite3? On Sun, 24 Nov 2019, 9:12 am Ram, wrote: > Hi Carlos, > > If you get to see my email, could you review my plan and let me know > whether my plan works for migration. > > 1. I have setup new Ubuntu 18.04 se

Re: How to migrate Django site from MySQL database to Postgres?

2019-11-23 Thread Ram
Hi Carlos, If you get to see my email, could you review my plan and let me know whether my plan works for migration. 1. I have setup new Ubuntu 18.04 server in Digital Ocean droplet 2. Installed Postgress, Django with default settings and empty site, which means I did not bring/copy over the my D

Re: extending a custom user (AbstractBaseUser) and displaying in admin

2019-11-23 Thread Underground Creatorz
Hello all. Have a merry christmas and happy new Year. ( moorestephen...@gmail.com) On Sat., 23 Nov. 2019, 11:26 am Elic, wrote: > Hi, > > Hope you are all doing well. > > I had to change the User object to support several use-cases in my system. > > I have created a custom User object that exten

Re: How to migrate Django site from MySQL database to Postgres?

2019-11-23 Thread Ram
Hello Carlos, The steps looks promising. We will try it and let you know. Our dB is originally from MySQL configured for PHP based website and later on we moved to Django project development. Now we planned to migrate the site to Postgres database running on Ubuntu for Django project. Thank you

Re: How to fix this - ERROR: Failed building wheel for mysqlclient

2019-11-23 Thread Ram
Hello Kasper, I tried installing libssl1.1 globally and then tried mysqlclient install in virtualenv, but the result is the same and mysqlclient is still failed with same error. Thanks ~Ram On Sat, Nov 23, 2019 at 3:59 PM Kasper Laudrup wrote: > Hi Ram, > > On 23/11/2019 23.48, Ram wrote: > >

Re: How to migrate Django site from MySQL database to Postgres?

2019-11-23 Thread carlos
maybe this link help you! https://www.calazan.com/migrating-django-app-from-mysql-to-postgresql/ On Sat, Nov 23, 2019 at 12:23 PM Ram wrote: > Hi, > > We have our Django based website running in our local windows box with > MySQL database. We plan to deploy our site on Ubuntu, Postgress, Gunicor

Re: How to fix this - ERROR: Failed building wheel for mysqlclient

2019-11-23 Thread Kasper Laudrup
Hi Ram, On 23/11/2019 23.48, Ram wrote: Hi, I’m running into this blocking issue while setting up Django with MySQL database. I’m pasting here what I tried so far on Ubuntu 18.04 OS. |/(vkdev)user@ubuntu-he:~/testproject$ pip install mysqlclient Collecting mysqlclient Using cached

How to fix this - ERROR: Failed building wheel for mysqlclient

2019-11-23 Thread Ram
Hi, I’m running into this blocking issue while setting up Django with MySQL database. I’m pasting here what I tried so far on Ubuntu 18.04 OS. > *$ sudo apt install nginx mysql-server python3-pip python3-dev > libmysqlclient-dev > $ sudo apt install mysql-client > $ sudo mysql_secure_installation

Re: Internal error 500

2019-11-23 Thread Kasper Laudrup
Hi Josiah, On 23/11/2019 20.14, Josiah Umezurike wrote: I have done all I could on this but my site cannot display but port which is gitlab.apilokdon.comAny help or direction to the positive side will be great. Thanks. Looking at your screenshots, it seems like you have a syntax

How to migrate Django site from MySQL database to Postgres?

2019-11-23 Thread Ram
Hi, We have our Django based website running in our local windows box with MySQL database. We plan to deploy our site on Ubuntu, Postgress, Gunicorn and Nginx stack server. I'm looking for a way to achieve this even with the manual intervention? I appreciate if someone can point me the right direc

Re: Internship

2019-11-23 Thread Jubel Ahmed
https://github.com/jubelAhmed https://www.linkedin.com/in/jubelahmed8180/ On Saturday, November 23, 2019 at 2:45:21 AM UTC+6, Devender Kumar wrote: > > Can I get your linkedin profile. And git repo links > > On Sat 23 Nov, 2019, 2:00 AM Elijah O. Raji, > wrote: > >> Sir, I'm also interested in

Re:

2019-11-23 Thread Kasper Laudrup
Hi Raja, On 23/11/2019 17.26, Raja Sekar Sambath wrote: Hi, request object will have the user information of currently logged-in user. try with request.user Paras is trying to reimplement Djangos authentication system because he cannot be bothered to read the documentation, doesn't understa

Re: Django User Authrntication

2019-11-23 Thread Chris Achinga
thank you very much On Sat, 23 Nov 2019 19:30 Elijah O. Raji, wrote: > Hello Chris > I'm ready to help kindly put the question through. > > Or you can contact me view WhatsApp > +2349036475407 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gro

Django User Authrntication

2019-11-23 Thread Elijah O. Raji
Hello Chris I'm ready to help kindly put the question through. Or you can contact me view WhatsApp +2349036475407 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re:

2019-11-23 Thread Raja Sekar Sambath
Hi, request object will have the user information of currently logged-in user. try with request.user On Sat, 23 Nov 2019 at 14:57, Paras Jain wrote: > i want my 'user_id' to be passed from detail function to edit profile > function but how?? need help > > def detail(request,user_id): > deta

Re: Django User Authrntication

2019-11-23 Thread Kasper Laudrup
Hi Chris, On 23/11/2019 10.21, Chris Achinga wrote: Hello, Could I please get help creating user login and logout and registration using Django. Login and logout: https://simpleisbetterthancomplex.com/tutorial/2016/06/27/how-to-use-djangos-built-in-login-system.html User registration: https

Django User Authrntication

2019-11-23 Thread Chris Achinga
Hello, Could I please get help creating user login and logout and registration using Django. thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-us

Re: Could not parse the remainder: '='dashboard'' from 'section='dashboard''

2019-11-23 Thread MTS BOUR
you need to learn python if var=='yourthing': == instead of = in your conditions Le ven. 22 nov. 2019 à 21:01, Aly_34_04 MR_34_04 < allaberdi16yazha...@gmail.com> a écrit : > nothing changed( > > > On Fri, Nov 22, 2019 at 10:05 PM Larry Martell > wrote: > >> == >> >> -- >> You received this mess

Re: Django Channels2 - after a system chrash or power failure channel name persists.

2019-11-23 Thread Levent Engin
Thx for info. Adam Hooper , 22 Kas 2019 Cum, 18:07 tarihinde şunu yazdı: > On Friday, November 22, 2019 at 7:08:46 AM UTC-5, Levent Engin wrote: >> >> Hi, >> >> I am using Django Channels2. After a system failure or power crash >> channel name of the receiver persists without a proper disconnec

Re: Internship

2019-11-23 Thread Atul Anand
Forward the resume. On Fri, Nov 22, 2019, 5:04 PM Scyil sharma wrote: > I am sahil sharma, a student of btech 3rd year and I'm seeking for an > internship in Winter vacation. I would like to be work as a backend > developer. > > -- > You received this message because you are subscribed to the Go

[no subject]

2019-11-23 Thread Paras Jain
i want my 'user_id' to be passed from detail function to edit profile function but how?? need help def detail(request,user_id): details = get_object_or_404(User, pk=user_id) return render(request, 'company/detail.html',{'details':details}) def edit_profile(request): return render(re

Re: Internship

2019-11-23 Thread Shakil Ahmmed
I am also interested . Here's My Github Link : https://github.com/ShakilAhmmed On Sat, Nov 23, 2019 at 2:43 PM Nitin Kalmaste wrote: > There are my recent 3 projects one is online. Gappagosthientertainment.com > > On Sat 23 Nov, 2019, 2:10 PM John McClain, wrote: > >> do you know django >> >>

Re: Internship

2019-11-23 Thread Nitin Kalmaste
Yes very well check on GitHub/kalmastenitin On Sat 23 Nov, 2019, 2:10 PM John McClain, wrote: > do you know django > > On Fri, 22 Nov 2019 at 20:29, Elijah O. Raji wrote: > >> Sir, I'm also interested in the internship as a backend developer. >> I base in Nigeria. >> I can work remotely. >> >>

Re: Internship

2019-11-23 Thread Nitin Kalmaste
There are my recent 3 projects one is online. Gappagosthientertainment.com On Sat 23 Nov, 2019, 2:10 PM John McClain, wrote: > do you know django > > On Fri, 22 Nov 2019 at 20:29, Elijah O. Raji wrote: > >> Sir, I'm also interested in the internship as a backend developer. >> I base in Nigeria.

Re: Internship

2019-11-23 Thread John McClain
do you know python django On Fri, 22 Nov 2019 at 11:33, Scyil sharma wrote: > I am sahil sharma, a student of btech 3rd year and I'm seeking for an > internship in Winter vacation. I would like to be work as a backend > developer. > > -- > You received this message because you are subscribed to

Re: Internship

2019-11-23 Thread John McClain
do you know django On Fri, 22 Nov 2019 at 20:29, Elijah O. Raji wrote: > Sir, I'm also interested in the internship as a backend developer. > I base in Nigeria. > I can work remotely. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To