cj
Ok, thanks
but you can use Django together with whatever xyzJS library
Rajat
Anonymous
Question :
I have a html file page1.html which rendered with some database data values and It has a Button.
Once button clicked it redirects to another Page page2.html which contains a form.
When page2.html form submitted Only the form datas are stored in Database. But I want to store old datas which was rendered with page1.html
Shivansh
Please try this and let me know what all amendments do I need to do in this application
octrixtweetapp.herokuapp.com
Orack
can we upload file using json serializer
Orack
cj
yes you can
Orack
yes you can
how to send file request via json 😐 ? like if i select form data it shows browse file button in postman
cj
cj
use FormData
Orack
Orack
Orack
hmm
cj
PyCharm is ❤️
cj
also, if you use DRF, each endpoint has a little frontend where you can directly interact with them, also you can use Swagger too
Rohan
Postman is an electron app afaik
Rohan
Orack
basically like if i want to post blog name in json it would be like
{
id:005,
title:myfirstpost,
content: hello world
}
Orack
can i put
file:"/home/username/myfile.jpg"
cj
https://stackoverflow.com/questions/20473572/django-rest-framework-file-upload
Orack
Anonymous
Hello, is there a way to read data from Google sheets using python / Django.
Sh
Any freelancing projects in Python/Django.
Sh
I am willing to take it up
cj
Orack
Michael the wolf 🐺
Michael the wolf 🐺
you installed windows !!
Bozwkd
Hi, im trying make a web camera stream with my phone (python in android) and Django
Bozwkd
I have seen that websockets are usually used, but the client on android uses normal sockets (import socket)
Bozwkd
Is it possible to do that with these sockets, or do you recommend using websockets?
Bozwkd
Or if there is a better alternative, what would you recommend me to do?
Rajat
Orack
👍
this doesn't work 😫
👨🏻🦲
anyone using plesk onyx hosting ?
Manoj
I am getting server error(500) why
R
Doragonsureiyā
anyone using plesk onyx hosting ?
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 48k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
R
R
I am getting server error(500) why
Dont ask in private, you can check logging docs is you dont know how to configure them: https://docs.djangoproject.com/en/3.0/topics/logging/
ㅤㅤㅤ
hi all!
ㅤㅤㅤ
how are you
ㅤㅤㅤ
?
ㅤㅤㅤ
I am going to ask something
ㅤㅤㅤ
could anyone help me ?
करन
First You will Ask Your Questions
Not Your Dad
Anonymous
Question :
I have a html file page1.html which rendered with some database data values and It has a Button.
Once button clicked it redirects to another Page page2.html which contains a form.
When page2.html form submitted Only the form datas are stored in Database. But I want to store old datas which was rendered with page1.html
ㅤㅤㅤ
I have lots of objects in my database, and each of them has it's dateline and its status. if deadline has already passed programm should change its status automatically to overdue. else it's status should be normal. I dont know how to do this
ㅤㅤㅤ
Mirco
ㅤㅤㅤ
Anonymous
Hi what is better ?
Django girls
Or
Django original docs
ㅤㅤㅤ
Not Your Dad
Not Your Dad
Or have the routes in the same file, if its small enough
Anonymous
How can I change the default database in postgreSQL
Anonymous
Like I have two databases
Postgres,
Test
Anonymous
all alters, inserts, selects go with postgres and I want to change them to test
Muflone
Firdaus
👨🏻🦲
Muflone
django/base.html at master · django/django · GitHub
https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/base.html
Muflone
👆
👨🏻🦲
i dont know how to stop / kill / restart the proccess
eKibz
Hey has anyone worked on django translation from English to any other language?
eKibz
DM me please
Muflone
eKibz
okay, will do ,Thank you
ㅤㅤㅤ
What about "is_overdue" property? Compare timzone.now() with dateline.
yes, you are right. this works when you create that object you may identify if that objects is overdue or not. But imagine this situation. when you created object, its deadline will come after 4 days. and the method you suggested identifies that objects is not overdue. it is ok. but after 4 days, how it's status will be changed to overdue??in that question is.
Денис
ㅤㅤㅤ
I am thinking on celery. what do you think about this choice?