Alex
Anonymous
Alex
so simple
Anonymous
The Summer
guys i am getting problem while recieving json data from ajax request .here is code-> https://pastebin.com/JuAfB6sV
The Summer
it give me this error "MultiValueDictKeyError at /quotidian/addwork/
'works'"
Mirco
data type text ?
Mirco
so into the request.POST you have an entire string
The Summer
i changed it to json but still same
The Summer
error
Mirco
in this case, a suggestion is: take a coffee, go out, have a walk, come back in front of your laptop, study again how to send data from frontend in a proper way and you will see everything will work
The Summer
uh okay lol
The Summer
ty for this :)
Mirco
😉
Shyamkumar
is any free website they provide free django website deployment free
Anonymous
Pythonanywhere.com and herokuapp.com
Shyamkumar
ok
Shyamkumar
and any idea to create like button
Shyamkumar
i do google but not understand
Shyamkumar
any simple explanation
Anonymous
How can we deploy a django application on a production environment
Anonymous
What is wsgi and enginex
Mirco
Google them and study the deploy topic on offical docs
Anonymous
Are wsgi and enginex related to the same.
Anonymous
Or are they different
Mirco
Are wsgi and enginex related to the same.
nginx is a web server that you can use for static stuff and reverse proxy
wsgi is isimple calling convention for web servers to forward requests to web applications or frameworks written in the Python programming language
Mirco
why don't you like googling ? 😊
Anonymous
Is there still a possibility that Django can still be infiltrated with SQL injection?
Alex
Anonymous
Alex
yes
Then how do you think you can inject some arbitrary sql in a http-query?
Alex
Pardon me. I rephrase - how would you inject some arbitrary sql in a http-query so it would have an effect on django orm?
Anonymous
by manipulating or modifying sql commands?
Alex
Anonymous
thank you for your response
El
i need help
El
https://pastebin.com/sWYSmssF
Dhruva
I am trying to make 404 page in django
Ashlah
Dhruva
But on following the documentation I did,but having server error 500
El
I made a deploy of my api but it throws me an error that the columnist is not named but if she is using pythonanywhere
Dhruva
Ashlah
Ashlah
They're both built with django
Ashlah
You can find other django based project here https://djangopackages.org/categories/projects/
Dhiraj
How to connect django3.0mongo ??
El
bro I read but not working try solution and throw the same error
Ashlah
Wew.. it's bot right?
El
Batman
Batman
cj
🧐 you mean indians like to leave their sites vulnerable?
most of the time they don't know what they are doing, they see things working and leave it as is, they don't care about how things are done, mostly copy/paste things and run them, then they brag they've done it everything from scratch 🤷🏻♂️
karry
cj
I'm also thinking the guy that posted that "question" is part of the staff that made that site, he just found a "smart" way to promote his website 🤔
Batman
cj
pyenv + virtualenv + pip-tools = ❤️
Batman
Batman
like pipenv does? that would be a deciding factor for me to switch from pipenv to pip-tools 🧐
cj
like pipenv does? that would be a deciding factor for me to switch from pipenv to pip-tools 🧐
🤔 why? if there's a X library that depends on Y, when you compile your requirements.in file, it will be listed in the resulting requirements.txt so it will know exactly what to install when you run pip-sync, if you remove the dependencies in the resulting compiled file, maybe you'll break things, that's why you have to set your explicit dependencies on the requirements.in file only and don't care about 3rd party dependencies at all
Batman
cj
cj
pip-tools syncs (install, uninstall or upgrade) things you've compiled before from the .in file using pip-compile
cj
so basically:
1. set your requirements.in file with the packages you want
2. compile it with pip-compile
3. sync with pip-sync
4. profit
Batman
Batman
looks like I might finally be making the move, was confused between poetry and pip-tools mainly
Dhiraj
Hello,Any one knows how to connect mongodb with django3.0??
Mirco
Anish
Anonymous
Dyron
Ashlah
razorpay
This one https://github.com/razorpay/razorpay-python?
John
I have some works to be done by collaboration.
Anyone interested leave me a message.
Anish