Re: Telnet problem

2021-05-27 Thread Mottaz Hegaze
Maybe your ip is blocked now. On Thu, 27 May 2021, 2:27 pm Antonis Christofides, < anto...@antonischristofides.com> wrote: > Google doesn't officially support using its email service as a smarthost > (at least not so with free accounts). Therefore some things may be working > for a time and then

Re: Telnet problem

2021-05-27 Thread Mostapha Bouderka
Is there a way to ublock it? On Thu, May 27, 2021, 14:13 Mottaz Hegaze wrote: > Maybe your ip is blocked now. > > On Thu, 27 May 2021, 2:27 pm Antonis Christofides, < > anto...@antonischristofides.com> wrote: > >> Google doesn't officially support using its email service as a smarthost >> (at

Re: Telnet problem

2021-05-27 Thread Antonis Christofides
Google doesn't officially support using its email service as a smarthost (at least not so with free accounts). Therefore some things may be working for a time and then they might stop working. Antonis Christofides +30-6979924665 (mobile) On 27/05/2021 14.27, Mostapha Bouderka wrote: Hi. I

Re: How can I pass input value to view function without forms

2021-05-27 Thread Bhanu prasad Ch
Hello Boris, I was thinking of passing number from the input to view function *call_me_when_ten()* *index.html* ... ... *views.py* def call_me_when_ten(request): if request.post == 'POST': number = request.POST['numberid'] if number == 10:

Telnet problem

2021-05-27 Thread Mostapha Bouderka
Hi. I know this isn't django related but I searched everywhere and couldn't find any help. The issue is, in order to send emails using smtp (or even django's send_mail), I had to initiate " telnet smtp.gmail.com 587 ", which worked for a while, but now I can't get it to work. When I type this

Re: How can I pass input value to view function without forms

2021-05-27 Thread Antonis Christofides
You have a typo somehwere; in the HTML you have "numbered", whereas in the code you have "numberid". Antonis Christofides +30-6979924665 (mobile) On 27/05/2021 13.20, Bhanu prasad Ch wrote: Hello Boris,       I was thinking of passing number from the input to view function

Re: How can I pass input value to view function without forms

2021-05-27 Thread Sharif Mehedi
How are you making the request? On Thursday, May 27, 2021, 4:20:55 PM GMT+6, Bhanu prasad Ch wrote: Hello Boris,      I was thinking of passing number from the input to view function call_me_when_ten()index.html.. views.pydef call_me_when_ten(request):    if request.post == 'POST':  

Re: Telnet problem

2021-05-27 Thread Kasper Laudrup
On 5/27/21 4:05 PM, Mostapha Bouderka wrote: Is there a way to ublock it? Yes. Use a provider that officially supports your use case. It could most likely be Google if you are willing to pay them (with money instead of just your personal data). Kind regards, Kasper Laudrup -- You

Re: How can I pass input value to view function without forms

2021-05-27 Thread VREN
you mean request.method instead of request.post ? On Thu, May 27, 2021 at 3:50 PM Bhanu prasad Ch wrote: > Hello Boris, > I was thinking of passing number from the input to view function > *call_me_when_ten()* > *index.html* > ... > > ... > > *views.py* > def call_me_when_ten(request): >

node deploy serverless AppLambdaFunction is returning an error Role

2021-05-27 Thread Diego Alonso Uribe Gamez
Hello, I am following a Vadym Khodak manual where django is deployed on a derverless server but I get an error in a part that I do not understand, the error is this AppLambdaFunction CREATE_FAILED Properties validation failed for resource AppLambdaFunction with message: #/Role: failed

Re: Edx LDAP Auth setting

2021-05-27 Thread Adil Kadiyawala
Hello All, I have configured LDAP server and when I try to login then it throws an error : "*Authentication Failed Error*". Here is a log. Can you please help me to resolve it? login.py:398] - {'value': u'$ Traceback (most recent call last): File

in need of help about my django ecommerce website

2021-05-27 Thread Adarsh Sarda
Hi, I've been facing a problem recently in creating a Django Profile model for an E-commerce website. If a profile updates it's cart then all the carts in the admin page are getting updated with the same items. Kindly help me out if possible. The screenshots have been attached below and the

Re: Edx LDAP Auth setting

2021-05-27 Thread Shailesh Yadav
Can you paste the below code into settings.py and check the error log and how you have configured it?. Checking the log file in Terminal logger = logging.getLogger('django_auth_ldap') logger.addHandler(logging.StreamHandler()) logger.setLevel(logging.DEBUG) Thanks & Regards Shailesh Yadav

Help with a huge database query.

2021-05-27 Thread 'odrzen' via Django users
Hello Django community o/ I want to create a API call in order to get all data from a specific model ( table ) - but I want to exclude-remove only specific fields from this. So, I try to find a right way to execute this difficult and "heavy" query/request with a efficient way. This is what I

Re: node deploy serverless AppLambdaFunction is returning an error Role

2021-05-27 Thread Diego Alonso Uribe Gamez
this is the manual from Vadym Khodak to deploy django app in lambda https://blog.vadymkhodak.com/deploy-django-app-on-aws-lambda-using-serverless-part-1 El jueves, 27 de mayo de 2021 a la(s) 11:18:16 UTC-5, Diego Alonso Uribe Gamez escribió: > Hello, I am following a Vadym Khodak manual where

Re: Help with a huge database query.

2021-05-27 Thread David Nugent
I think a better approach to using QuerySet.defer() is to use .values() instead, explicitly specifying which fields you need to export. Just FYI rest_framework handles this out of the box and provides an API to specify not only which fields to export but filters as well. Regards /d On Fri, May

Re: Telnet problem

2021-05-27 Thread Pankaj Jangid
Mostapha Bouderka writes: > send_mail), I had to initiate " telnet smtp.gmail.com 587 ", which worked > for a while, but now I can't get it to work. When I type this command in > the terminal, I get this error : > > Connecting To smtp.gmail.com...Could not open connection to the host, on >