Re: SMTP Authentification error

2022-04-29 Thread 'Delvin Alexander' via Django users
Good Afternoon, i included the db_user and db_password becasue that was what my environment variable used in my advanced settings. When i debugged i did use both email user and db user and got the same result. Also i tried everyone's answer but still obtained the same result. Is it something i

Recommendation for effective captcha systems?

2022-04-29 Thread cseb...@gmail.com
I used some Django package called captcha but it seems spammers can bypass it. Is there a pretty nearly foolproof captcha people use instead? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: 'ascii' codec can't encode character

2022-04-29 Thread David Crandell
You'd actually want to handle UNICODE strings, not ASCII. https://docs.djangoproject.com/en/4.0/ref/unicode/ On Thursday, April 28, 2022 at 7:02:49 PM UTC-5 Thiago Luiz Parolin wrote: > Hi, > i have a model with 2 charfields for givenname, surname: > >nome = models.CharField( > max_l

Re: Help! I begginer...

2022-04-29 Thread Derek
You may need to update the version of Django you're running; the current source code (https://github.com/django/django/blob/main/django/db/models/sql/query.py) shows this import: from collections.abc import Iterator, Mapping Hope that helps. On Tuesday, 26 April 2022 at 18:34:34 UTC+2 rikrdop

Re: 'ascii' codec can't encode character

2022-04-29 Thread Antonis Christofides
Hi, could you post the full traceback? And if some part of this traceback refers to your code, it would be a good idea to also show us that part of your code. On 29/04/2022 03.01, Thiago Luiz Parolin wrote: Hi, i have a model with 2 charfields for givenname, surname:    nome = models.CharFiel

Re: SMTP Authentification error

2022-04-29 Thread Hassan Bashir
Hi there, EMAIL_BACKEND = 'django.core.mail.backends.*smtp.EmailBackend'* *EMAIL_HOST = 'smtp.gmail.com '* *EMAIL_PORT = 587* *EMAIL_USE_TLS = True* *EMAIL_HOST_USER = os.environ.get('DB_USER')* *EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')* in this code you just nee