I Am A Begginer Web Developer - Need Help With Finding A Term

2019-04-01 Thread Rok Klancar
Hello developers! Much respect to you all. I have just finished a couple of hours browsing the web, but found no solution. I guess my problem is simply *not knowing the right term *for the thing that I am trying to make (in Django of course). Brief description: I have made a class 'Post' in *m

Re: seeking experts guidance

2020-04-05 Thread Rok Klancar
Hello Nouman! The best place to learn Django is it's official tutorial (https://docs.djangoproject.com/en/3.0/intro/). There you will find examples of using Django in web development. Rok Dne nedelja, 05. april 2020 14.06.38 UTC+2 je oseba Nouman Mehmood napisala: > > hello there, > > Hope eve

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

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
>>>>> >>>>> Process: 1652 ExecStart=/usr/sbin/nginx -g daemon on; >>>>> master_process on; (code=exite >>>>> >>>>> Process: 1651 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; >>>>> master_process on; (c &

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
rk.target > > [Service] > User=wms > Group=www-data > WorkingDirectory=/home/wms/iitians/ > ExecStart=/home/wms/iitiansenv/bin/gunicorn --access-logfile - --workers 3 > --bind unix:/home/wms/iitians/iitans.sock iitians.wsgi:application > > [Install] > WantedBy=multi-us

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
tand them. V V ned., 12. apr. 2020 ob 17:40 je oseba Rok Klancar napisala: > Everything seems to be in order > > Maybe it's the firewall's fault. > What do you get when you type > 'sudo ufw status' ? > > V V ned., 12. apr. 2020 ob 16:09 je oseba Jagt

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
< jagtar.lakhe...@gmail.com> napisala: > sudo ufw status > > [sudo] password for wms: > > Status: inactive > > > No funky settings as currently i want only to run the app on web, Not even > installed ssl. > > On Sun, Apr 12, 2020 at 9:13 PM Rok Klancar

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
isting rule (v6) > > sudo ufw enable > > Command may disrupt existing ssh connections. Proceed with operation > (y|n)? y > > Firewall is active and enabled on system startup > > > Do i need to sudo reboot also. > > On Sun, Apr 12, 2020 at 9:25 PM Rok Klancar

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-12 Thread Rok Klancar
And If this doesn't work, I think it is the best course of action to go to settings.py, and set the DEBUG=True. Then the 502 error may disappear and you'll see the Django error log V V ned., 12. apr. 2020 ob 18:06 je oseba Rok Klancar napisala: > Do it; > It can't hurt

Re: 502 Bad Gateway nginx/1.14.0 (Ubuntu)

2020-04-13 Thread Rok Klancar
message like Internal Error 500 or the default nginx >>>>>> page, let us know. >>>>>> >>>>>> On Sat, Apr 11, 2020 at 1:39 PM Jagtar Singh Lakhyan < >>>>>> jagtar.lakhe...@gmail.com> wrote: >>>>>> >>>

Re: stack

2020-04-20 Thread Rok Klancar
Do the official Django tutorial -- 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 web vis