django dependent drop down list without using javascript; ajax; jquery

2020-04-11 Thread Mayank Tripathi
Hi All, Could any one please share some details on how we can do dependent drop down list selection. I am seeing lot of videos or content to handle this via JavaScript; AJAX; jquery etc.. but just wondering if Django has anything which can be handled easily. -- You received this message becau

Django - PrePopulate the Foreign Key on the web page, and use that id to save the model.

2020-04-11 Thread Mayank Tripathi
Hi All, I am facing an issue, to pre-populate the Foreign Key on the web page. Actually i have two models Projects and Modules. To create a Module, one has to select the Project and go to Module page for create it, but there the Project is not populated. Below are the details... Please guide me

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-11 Thread Jagtar Singh Lakhyan
No luck, same 502 error. These r settings.py *# SECURITY WARNING: don't run with debug turned on in production!* DEBUG = *False* ALLOWED_HOSTS = [*'iitian.xyz '*, *'192.95.37.123'*] On Sun, Apr 12, 2020 at 6:19 AM Andrew C. wrote: > What’s the HTTP status code? Does the n

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-11 Thread Andrew C.
What’s the HTTP status code? Does the nginx page even show anything? Try: sudo systemctl stop nginx && sudo systemctl disable nginx && sudo systemctl enable nginx && sudo systemctl start nginx This command could also be in the wrong order... it’s been awhile. It could be a symbolic link error. I

Re: I want to create a a convertor

2020-04-11 Thread soumyajit banerjee
for pdf to text you can try https://www.geeksforgeeks.org/working-with-pdf-files-in-python/ On Sat, Apr 11, 2020 at 11:07 PM Anupriya Nishad wrote: > How to convert a pdf and word to text > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-11 Thread Jagtar Singh Lakhyan
sudo systemctl status nginx *●* nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: *active (running)* since Sat 2020-04-11 04:54:18 IST; 18h ago Docs: man:nginx(8) Pro

I want to create a a convertor

2020-04-11 Thread Anupriya Nishad
How to convert a pdf and word to text -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the w

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-11 Thread Rok Klancar
Dude, try "sudo systemctl status nginx" Dne sobota, 11. april 2020 18.53.50 UTC+2 je oseba Jagtar Singh Lakhyan napisala: > > Im trying to deploy django app using nginx & gunicorn but its showing error > > sudo nginx -t > > nginx: the configuration file /etc/nginx/nginx.conf syntax is ok > > ngin

502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-11 Thread Jagtar Singh Lakhyan
Im trying to deploy django app using nginx & gunicorn but its showing error sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful sudo systemctl status gunicorn.service gunicorn.service - gunicorn serv

Re: Django Video Conferencing-Reg

2020-04-11 Thread Yoo
I recommend you implement video conferencing yourself using native Django 3.0 websockets OR Django channels. You just have to figure out how to 1. get camera input, 2. convert it into base64, 3. send it over the socket, then 4. in HTML, show the image. My issue with that is 1. you need to send i

Re: The empty path didn't match

2020-04-11 Thread Vinay Kumar
Thank you soo much for the help it's working now ... On Thu, Apr 9, 2020, 11:02 PM JEGATHEESWARAN SUNDARAVADIVEL < jagatheesjo...@gmail.com> wrote: > In your urlpatterns remove $/ just keep empty “ “ for views.homepage > > Thanks > Jegatheeswaran > > On Thu, 9 Apr 2020 at 22:56, Vinay Kumar wrot

Re: The empty path didn't match

2020-04-11 Thread waqar khan
you can start server and open address bar type google Chrome:- 127.0.0.1:8000/$/ On Thu, Apr 9, 2020 at 11:01 PM JEGATHEESWARAN SUNDARAVADIVEL < jagatheesjo...@gmail.com> wrote: > In your urlpatterns remove $/ just keep empty “ “ for views.homepage > > Thanks > Jegatheeswaran > > On Thu, 9 Apr

Re: In pycharm errror

2020-04-11 Thread tejasri mamidi
Huh..its in projectname/projectname/manage.py how can handle it now On Sat, Apr 11, 2020, 04:46 Andrew Fetting wrote: > Sounds like you are on file too deep. manage.py should be in {project > name}\manage.py, not {project name}\{project name}\manage.py. > Hope that helps. > > On Fri, Apr 10, 202