Mirco
Hi 😀
Anonymous
hi
Paolo
I've just published my new article "Updating a Django queryset with annotation and subquery" https://www.paulox.net/2018/10/01/updating-a-django-queryset-with-annotation-and-subquery/
Rajjix
Hey guys can someone share some tutorials for django
There is a newsite called justdjango.com, but trust me when i tell you to stick to the docs they explain everything in detail one of the best documentation out there for an open-source library, these people are consistent
Rajjix
Because when you follow tutorials you end up copycatting most of the time instead of learning and understanding how things are done
Anonymous
Ronald
Hey guys
Ronald
quick question. I’ve been googling for a few hours, but no luck. This is last resort.
Ronald
inside my view I have a for loop, esentially to generate x-amount of uuid keys. https://dpaste.de/bQOQ like this. What would be the best way of having those keys output in my templates - also preferably through a {% for loop %}.
Ronald
should I convert it to json or something?
Sluzex
Can anyone tell me how to get api key of any CAPTCHA website??
Rajjix
Pass the list as the context in your render function
Rajjix
And for loop it in your template
Rajjix
Generate—>append to list—>pass list to the render function—>forloop the list in your template
Tushar
add flight in setting.py
Tushar
sorry remove filght from setting.py
SEPIDE
Like this? Flight.apps.flightconfig Or just i should add flight
Mirco
Remember the rules, no photos please Share your code or traceback using tool like pastebin Thanks so much! It will be very appreciated 🙏
Tushar
Why😕🤔
because i thought there is no app named flight
Mirco
Alright sorry i didnt know the rules🤔
Pinned message is on top for this reason 😂 Just click and have a read
SEPIDE
😂and why? Why we cant send any photo
SEPIDE
😕😭
Anonymous
Mirco
😂and why? Why we cant send any photo
Because it's hard to read and we can't duplicate your code to analyze it better and help you
Tushar
😂and why? Why we cant send any photo
because it the the rule of this group😜
inchidi
😂and why? Why we cant send any photo
you didnt think you are rude when ask ppl who want to help you to read those texts?
inchidi
🤷‍♀
then you can just leave
SEPIDE
Anonymous
😆
Mahesh
Can anyone help me setup my hackintosh
Mahesh
?
Mahesh
It's offtopic
Mahesh
Will u pm me
Combot
Paolo Melchiorre (0) has increased reputation of Mirco (4)
Paolo
good job! i really enjoyed the "full text search" article too :)
I'm happy you enjoyed it. All feedback are welcome 👍
Kunal
Pip install mysql-python.. Gives module not found ConfigParser how do i remove that
Mirco
Pip install mysql-python.. Gives module not found ConfigParser how do i remove that
move this question to the Python group as it's not related to Django 😁 and there can help with your pip install issue
Dmitriy
Tell me, please, the library for working with images (compression, uploading to the server, resizing) with amazon s3 support. What about django-imagekit or django_optimized_image? Has anyone used it?
Rajjix
How about pillow
Raghav
Hello everyone
Raghav
I am trying to create a simple blog with django
Mirco
Hello everyone
Hi 👋🏻
Mirco
read the rules please share your code with tool like pastebin
Raghav
I am trying to update existing posts and this method is not working
Mirco
Sorry
we can help you better 👍🏻
Raghav
https://dpaste.de/
Mirco
Raghav
https://dpaste.de/3gML#L22
Raghav
Method is not working I mean the data present in the posts are not updating
Milan
And try if it works
Raghav
Not working but when form.is_valid is used message is displayed even when update is not done
Milan
Not working but when form.is_valid is used message is displayed even when update is not done
That's because it must be form.is_valid and not form. Is_valid()
Milan
https://dpaste.de/3gML#L22
You can set if else for request.method == "POST" and try again if it's working
Raghav
No idea brother
Milan
No idea brother
https://dpaste.de/9vmj
Raghav
Not working
Raghav
Thanks for Ur effort
Milan
Not working
Any error occurs??
Raghav
Ha local variable ' context' referenced before assignment
Raghav
Not working
Raghav
Any error occurs??
Same code worked when I changed the action present in form tag