Popups in django forms?

2021-02-26 Thread zvo...@seznam.cz
I want start a new project with good support for popups (select+options) in forms. My requirements are (and I think for real life project they are neccessary): 1. ajax retrieved options based on users selection (outside of admin and inside admin), 2. dynamic filtering of (especially related) opt

Re: How to use .vue files in Django project

2021-02-26 Thread Luciano Martins
Good morning, in our project we created a folder called FRONTEND and inside it we put all Quasar / VueJs code and used the DRF (Django Rest Framework) to consume Django data. Em quinta-feira, 25 de fevereiro de 2021 às 19:35:42 UTC-3, Ryan Nowakowski escreveu: > On Thu, Feb 25, 2021 at 04:24:2

Re: How to use .vue files in Django project

2021-02-26 Thread RANGA BHARATH JINKA
Hi, Please follow this guide. This may be useful for you to integrate Vue js in Django. https://dafoster.net/articles/2021/02/16/building-web-apps-with-vue-and-django-the-ultimate-guide/?utm_campaign=Django%2BNewsletter&utm_medium=email&utm_source=Django_Newsletter_64 All the best On Fri

Why _thread doesnt work on the remote server?

2021-02-26 Thread Sergei Sokov
This code works on my local server, but doesnt work on the hosting. What could be the problem? import _thread def email_index(*args): server = smtplib.SMTP('smtp.gmail.com', 587) server.starttls() server.login('k...@gmail.com', 'pas') try: server.sendmail('k...@gmail.com

Re: Django does't send email on the remote server

2021-02-26 Thread Sergei Sokov
This code is working server = smtplib.SMTP('smtp.gmail.com', 587) server.starttls() server.login('k...@gmail.com', 'pas') try: server.sendmail('k...@gmail.com', 's...@gmail.com', body_mes.encode('utf-8')) print('ok') except: print('An error occurred when trying to

Advice on self service password reset?

2021-02-26 Thread Tal Bar-Or
Hello , I would like to write self service password service for our organization , the identity source is our active directory. To accomplish this task i choose to use ldap3 library , reset password procedure would be simple template with enter your mail , backend will look for email user attri

Re: Why _thread doesnt work on the remote server?

2021-02-26 Thread Kasper Laudrup
On 26/02/2021 19.09, Sergei Sokov wrote: This code works on my local server, but doesnt work on the hosting. What could be the problem? Hard to tell. You're explicitly throwing away any relevant information by using a catch-all exception handler. Do any of your "an error happened" messages

Re: Log out all sessions for current user logged in

2021-02-26 Thread Ryan Nowakowski
Have your tried my suggestion below? Did it work? On February 25, 2021 9:42:55 PM CST, Salima Begum wrote: >Logout all sessions belong to logged in user Can you please how can I >achieve this? > >Thanks >~salima > >On Fri, Feb 26, 2021 at 4:56 AM Ryan Nowakowski >wrote: > >> On Wed, Feb 17, 202

Re: Django does't send email on the remote server

2021-02-26 Thread Class Udeh
Hello, Try sent the environment variables in ur hosting platform config..so it read the .env files from your hosting...and most time gmail not advisable to use as a mail option u can use sendmail or mailgun..had same issue when deploying with heroku but I had to use the heroku add-ons mail serv

Re: Log out all sessions for current user logged in

2021-02-26 Thread Salima Begum
Yes. I have tried that no it is not working and giving error like "Query object doesn't contain flush()" On Sat, 27 Feb 2021, 12:35 am Ryan Nowakowski, wrote: > Have your tried my suggestion below? Did it work? > > On February 25, 2021 9:42:55 PM CST, Salima Begum < > salim...@rohteksolutions.co