Alex
I know github. I mean a place where i can find a list of projects that would serve me as an example of good practices, something like that
+ djangosnippets it has some nice examples of different aspects (model management, templates, ...)
Alex
I know github. I mean a place where i can find a list of projects that would serve me as an example of good practices, something like that
Do you understand that a third-party package you will install for your django projects will mostly like be hosted there? So intead of asking for breastfeeding you could just explore the most starred packeges. Like https://github.com/jazzband/django-silk https://github.com/jazzband/django-debug-toolbar and so on.
Alex
so simple
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
xarala221
is any free website they provide free django website deployment free
You can deploy it to Heroku https://dev.to/xarala221/deploy-django-web-application-1c1k
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?
Mirco
Is there still a possibility that Django can still be infiltrated with SQL injection?
Django provides you lots of settings to protect your web app and they release lots of security fixes and then it's especially your business to make your app stronger against attacks
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?
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
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
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
Doragonsureiyā
bro I read but not working try solution and throw the same error
I'm not your bro, bro; we weren't hatched from the same egg 🐍🥚
Ashlah
Wew.. it's bot right?
cj
lol why do they have their admin exposed 😂
I don't want to sound rude, nor racist but.... "Indians" 🤷🏻‍♂️ (and I'm sure they didn't pay for the django-jet license at all)
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 🤷🏻‍♂️
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 🤔
cj
eh i'd rather not generalize but anw, since you're here I'd like to ask about your experience with pip-tools 🤔
I use pip-tools a lot, maybe I can say, there's not a project where I didn't use pip-tools 🙂 (but that's not Django related)
cj
pyenv + virtualenv + pip-tools = ❤️
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
cj
no no, maybe I didn't explain my point clearly, I was asking that if I remove let's say Flask, will it uninstall Jinja2 along with it like pipenv does or will it only uninstall Flask?
ah, yes... what you have to do is remove it from the .in file, compile the .txt again and when you run pip-sync it will remove the package you removed and all its dependencies
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
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
Midhun
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 🤔
No.Im not part of that website . i need to develop another website witj same functionality. And i didn't have any idea about from where did i need no start from and what are the packages used in that website. I asked her for getting good suggestions from experts
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.