Mirco
! offtopic
Doragonsureiyā
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Shubham
Mirco
Mirco
!offtopic
Doragonsureiyā
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Ismael
Hi i would like to know if there is a way to get informed about new Django releases via emails or any kind of suscription to be updated, thanks in advance
Anonymous
Where we learn django for beginners?
Master
Ismael Oze, you can always watc their github
m0nte cr1st0
Hello. Using globals() variables is a bad practice?
Master
m0nte cr1st0
dont
@badjinganGuy
Master
why?
https://stackoverflow.com/questions/19158339/why-are-global-variables-evil
Master
I am lazy today, so let me google it for you, instead writing my own
Master
🎱
hi guys, I need display asynchronously coming data in django template dynamically as they appear, how can I do this ?
here my responses from server, I used asyncio/aiohttp
Server response from http://google.com/activity: 301
Server response from http://google.com/dmca: 404
Server response from http://google.com/1623: 404
Server response from http://google.com/361: 404
Server response from http://google.com/327: 404
Server response from http://google.com/1028: 404
Server response from http://google.com/328: 404
Server response from http://google.com/series: 404
now I get this to my console but I need pass this to my template as they come
Cesar
Cesar
Have you tried opening that link?
🎱
I know, it doesn't matter, I just need to display this value into template dynamically
Axmadillo
hi
Amen
Master
Bossத்
Hi guys, I'm doing my college project. Web text decoder/encoder. Here the problem is my examiner expects the text to be decoded when the user is typing synchronously, I've tried jquery it worked but is refreshing the page on keystroke. Expectation is text to be decoded without refresh while typing in the same page. I've tried AJAX from multiple source, it is giving network error on each keystroke. Please someone help me on this... I have to submit this project by this 15th Nov.
No man's land
Ismael
Андрей
https://stackoverflow.com/questions/58838052/best-way-to-rotate-django-queryset
Yash
A silly doubt, my views.py is
print("something")
def home(request) :
my logic
render(template)
Why is print function running when I am calling only home function? Does Django runs entire views.py everytime?
godmode
Yash
Suppose I need an array to work with in my views.py but it resets everytime on page refresh. So what can I do to have an array which I can change when I want to?
Anonymous
Yash
I need to work with an array for my logic.
To store a number for each item in my model.
Yash
Actually i can't put in my function because array gets reset everytime on function call.
One method I used is to store in arrayfield in postgres db which works fine, but what to do if I want to work with MySQL?
Anonymous
Yash
No, actually I am asking if I am working only with MySQL then how can I implement array
Anonymous
Yash
Sultonbek Ikromov
Can someone explain what is action in Form? Why we need this? Why it is important and what it actually does
Master
Yash
Prasanthari
Rohan
Did anyone worked with Django+ AWS?
Prasanthari
Jay
Hello guys, i have an endpoint ( handled by a function in my views.py ) that receives POST data. But when i try redirecting to other urls from that view it doesnt go through. But when i redirect from other functions that dont receive POST data the redirect works well. Is it an issue with POST ??
Sultonbek Ikromov
Sultonbek Ikromov
I mean action=“views.py”?
Master
No. You should use url of your function for form processing
Prasanthari
Sultonbek Ikromov
ooh I got it
Sultonbek Ikromov
Thank you so much guys
Prasanthari
ooh I got it
Instead of using Html form try django inbuilt form
Sultonbek Ikromov
Prasanthari
What u want to do ??
Mendes
Put what you want on the model...
Sultonbek Ikromov
What u want to do ??
I mean change the size of the inputs or put that into the grid
Mendes
But I agree that for styling purposes it's really not good...
Mendes
Prasanthari
Jay
But how I could costumize it?
You can create you normal form using html then access your inputs from the view that renders the tempate containing your form using request.GET.get[name_of_field]
Mendes
Only if you need something more complex would you need a HTML forma...
Mendes
Sultonbek Ikromov
Mendes
Go with Django forms, much easy...
Sultonbek Ikromov
Sultonbek Ikromov
this group is amazing
Sultonbek Ikromov
you guys are super
Mendes
Are you being sarcastic?
Prasanthari
Anyone used django with reactjs ?? Is that worth learning?
Mendes