Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread maninder singh Kumar
Here's the code that I use : with mail.get_connection() as connection: connection.open() send_mail(Subject ,Message, Email, recipient_list, connection=connection) connection.close() Works beautifully, it is available at django docs [image: --] Maninder Kumar [image: http://]abo

Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread Mike Dewhirst
I get exactly those errors all the time. I believe it is related to Windows being Windows. It appears to have nothing to do with any code I have written. Everything still works. It looks like an unknown glitch occurs and the current request gets finished (handle_request in socket_server.py) gr

Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread maninder singh Kumar
Perhaps a problem with the smtp server, I am wondering if the email object got initialized at all. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Fri, Jan 17, 2020 at 2:41 AM Nosa Omorodion wrote: > Have you tried

Re: Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread Nosa Omorodion
Have you tried sending this mail from the user model? Using the post save signal On Thu, Jan 16, 2020, 9:53 PM Jose Chacón wrote: > Hello guys , i've came across to this error while using django email in a > method which is fired after a post request to register new users . The goal > of this m

Getting " ConnectionAbortedError: [ WinError 10053] " while using Django Email in a POST request

2020-01-16 Thread Jose Chacón
Hello guys , i've came across to this error while using django email in a method which is fired after a post request to register new users . The goal of this method is to after a user is created, an email must be sent to user's mail in order to finish registration workflow. Every time the msg.s

AdminEmailHandler logging filter, formatting, and false positives

2020-01-16 Thread Dan Davis
My team uses the django.utils.log.AdminEmailHandler, but along with a filter I wrote - infrastructure.log.SkipNessusScanFilter So, the security team moved its Tenable Nessus scanner from on-premise to the cloud (for public sites), and as usual, the scanner is misconfigured to use an IP address

Re: Django -adiminstration page is not opening

2020-01-16 Thread maninder singh Kumar
Without looking at anything else : 1. The database routers are not configured properly. In the main app/mainapp directory you could write routers.py. Look at django docs for more info. 2. The migrations have not happened and you have already written code for the database, assuming you are using

Re: Django -adiminstration page is not opening

2020-01-16 Thread vineet daniel
What's in the log, share log or stacktrace. Hard to guess anything. On Sun, 12 Jan 2020, 18:54 Rishabh Rai, wrote: > When i try to access my admin panel after entering username and password > correctly, instead of taking to next page it shows me fail to load.can any > one have any suggestions??

Re:

2020-01-16 Thread yusuf abdul
Thanks guys its working now On Wed, Jan 15, 2020, 3:30 AM Kevin Dublin Hi Yusuf, > > It could be any number of reasons depending on the type of carousel and > implementation. > > I will assume you are using bootstrap and suggest that you make sure all > of the necessary bootstrap css and JavaScri

Re: Django -adiminstration page is not opening

2020-01-16 Thread maninder singh Kumar
Could it be that you are using multiple routers for databases. Just a thought, then it must be in the routing. On Sunday, January 12, 2020 at 6:55:45 PM UTC+5:30, Rishabh Rai wrote: > > When i try to access my admin panel after entering username and password > correctly, instead of taking to ne

How to use filtering data while using distinct method in django?

2020-01-16 Thread kaito
please visit this site for more info https://stackoverflow.com/questions/59764028/how-to-use-filtering-data-while-using-distinct-method-in-django I hope my title is enough to understand what I mean, please help me on this problem guys. [image: data.PNG] When I tried this: "" id_list = g

Re: Understanding of GIL

2020-01-16 Thread 'Amitesh Sahay' via Django users
Hi, You should also undertand that Python uses GIL for Threading purpose. Yes, if you have functiosn that needs simulataneous execution you should use Threading approach. As well as if Huge data is involved then also use multi-processing concept as well On Thursday, 19 December, 2019, 7

Re: Understanding of GIL

2020-01-16 Thread Dvs Khamele
Sure John McClain, Thanks for providing this valuable time. For our general structure, The following is Github repo of one of our sample Django project UserDose:- https://github.com/dvskhamele/UserDose I am also attaching a google drive link for code folder which contains code, named as userdose I