Kaushal
Server
Anonymous
Guilherme
Hi everyone
Guilherme
What Front End framework do you recommend to work with Django?
Milan
Guilherme
Great
Guilherme
Any other suggestions?
Guilherme
React
Do you know any documentation guides/sites to integrate them?
Milan
https://youtu.be/AHhQRHE8IR8
R
React
I'm considering to start my first client side project with quasar framework which uses vuejs the hood, allows to use cordova to convert to native mobile and ionic for desktop and their material and ios built in components seems quite nice, I have seen that react native allows to add extensions with java/swift but have also read it requires quite a lot of knowledge in js/react, is there any advantage why I should pick up react rather than quasar or why there is so much hipe about react?
Raad
Hey guys, do you think it’s possible to run terminal python server that’s communicate with Twilio to send and receive sms text? Like when the server received a text, will first validated if the cell phone number in the database and then do action such as open garage door. If the number not in the database base will send back an error msg. I also want to control the database to add, edit, and delete numbers.
Please help with advices or anything.
Thanks
Ronald
Prosto
Hello djangers! Iv got problem. supervisor + uwsgi + nginx + dgango
When i turning off - Debug = false, i got Nginx 502, with log messege:
*2 connect() failed (111: Connection refused) while connecting to upstream
Prosto
Allowed hosts = '*'
Prosto
but with Debug=true, all works perfectly
Prosto
any suggestions?
Anonymous
Checkout nginx log
Prosto
Checkout nginx log
checked - *2 connect() failed (111: Connection refused) while connecting to upstream
Anonymous
That's whole lot?
Anonymous
Log!?
Anonymous
Don't copy paste here
Anonymous
User hastebin.com or something
Prosto
sry
Prosto
https://hastebin.com/rufezoroqu.cpp
Anonymous
https://www.hastebin.com/rufezoroqu.cpp
Anonymous
Where are you hosting your website?
Prosto
aws amazon
Prosto
ec2
Rajjix
Prosto
of course False
Prosto
DEBUG = env.bool('DEBUG', default=False)
Anonymous
Booleans are camel case in python
Rajjix
do you have your secret_key as an environment variable as well?
Prosto
Rajjix
are you using gunicorn?
Rajjix
oh didn't see that, can't help you there, haven't used supervisor before, @JimmySan is good with solving server related stuff, pray he’s in a good mood 2day ))
Prosto
Prosto
supervisor logging
Rajjix
exactly that's why i can't help :p
Prosto
Mirco
English pls
Anonymous
Raad
Yes. Possible.
How? Could you please tell me in general how this can be done? Thanks
Danilo
DORIAN GRAY
How can I sync local database to pythonanywhere database . For example I add objects on my local server and I want to see these objects on pythonanywhere server
Nadir
Can someone tell me any tutorial or snippet that can show how to, in one form, take a value from a dropdown list without POST and visual it in a number field, in the same form. Thanx
Mirco
Mirco
Rajjix
anyone used google cloud servers before?, i really hate when it starts lagging and i’d have to wait while writing code in vim or navigating around my system, it’s like playing a game with bad connection.
Anonymous
Mirco
Nadir
This is i get
Mirco
Yup
Nadir
The value, 4, it's correct but i can't put it into prot value...
Mirco
It's an input field so you should put that number into value attribute of Prot
Nadir
https://pastebin.com/xunpjMJj
Nadir
If you want to take a look
Mirco
U should use $("#id_prot").val(data)
Nadir
I use $("#id_prot").html(data) where data is the result but it doesen't visual in field value
Nadir
I've tried, and i've tried with text but the result it's the same
Mirco
So, have a look again to my pastebin
Remember what it's inside alert ?
Mirco
That value should be your data to put inside $(...).val() of your Prot field
Nadir
You mean i have to use data.val()?
Mirco
Nope
Mirco
You should put data inside val() of your Prot. Field
Nadir
$("id_prot").val()=data
Mirco
No
Mirco
Mirco
data inside val()
Nadir
I've tried.... But the field it's empty the same
Nadir
In the inspection if i write val(data) the value, 4 in that case, there isn't
Nadir
It' s possible the error is in the NEW_MAX_PROT. HTML?