Aneesh
What is @action(detail=true,method=false)
Aneesh
Any one know
Aneesh
About this
Jamil
Guys
Jamil
Does anyone know any good tutorials to create telegram bots with django... and dont !google me because I have been for hours
Jamil
Man all these people love flask
Jamil
Not the superior framework
maroong
Someone has an experience with Celery and Selenium grid?
Yes. Celery and selenium. I don't what's grid though
Ariel
Yes. Celery and selenium. I don't what's grid though
I'm to make some kind of a testing server on Docker. I'm having hard time to figure out what will be the best setup
Jamil
Bot aiogram
For django
Jamil
?
Jamil
Or flask
Jamil
Bot aiogram
this doesnt seem to be django
Jamil
i need access to db
Kirill
this doesnt seem to be django
omg u can just import django in ur project
Kirill
and then use orm
AK
Has anyone used Flutter with Django channels? As soon as I connect with the backend it disconnects. The backend is working fine I am able to connect with firecamp (api testing tool). There is no error appearing in the app also. It just connects and disconnects
Siddharth
i need a help plzz
Anonymous
As I understand)
Siddharth
how to get a data form another model when both the model is connected through id
Siddharth
perhaps by using double __
Siddharth
but it's not working
Rohan
perhaps by using double __
Show the code snippet and models
Rohan
Use pastebin.
Siddharth
the model
Siddharth
view.py
Rohan
/warn wall of text
Siddharth
i don't know how touse it
Siddharth
acctually i am a total beginner
Rohan
Open del.dog Paste your stuff there Click on save Copy the link
Rohan
Done.
Siddharth
k i m trying
Anonymous
i don't know how touse it
Bro, it's so easy
Anonymous
I'll give you a link in 1 min
Anonymous
https://pastebin.com/
Anonymous
This web site helps you to share your code to us)
Anonymous
Try:)
Siddharth
ok
Siddharth
thanks
Anonymous
Can any one please help me for how to use product weight choices in model and user select weight in html page price will change according to weight in ecommerce website
Mirco
Use code sharing tools
Object
Hi all, has anyone dealt with a scenario where in you would have to download files from s3 into the memory and perform some operations on it. Provided that the django code is running in a docker container on aws fargate instances
Anonymous
this is my problem https://github.com/jazzband/django-formtools/issues/129
Hussein
How do I return a task id in celery
Hussein
@shared_task def tercih_bildirimi_gonderme(): ******************** ************* ************* return ****
Gil
about django admin query optimization I have a list view of a model with a lot of fields ans 3 ForeingKeys. I have found - with django-debug-toolbar- who is generatin 56queries. If I remove this ForeinKey from list_display, it reduces to 6 queryes for this view. I don't understant why? Each Foreign key is makeing inner join, why django.contrib.models.User is generatin one sql query for each record ? Other models aren't doing it
Gil
Check your __str__ methods and use select_related
working! reduced 150ms, 50 queryes, writting list_select_related = ['all foreign','keys'] Thank you!
Ghorz
!warning
Akintola
Sorry thou
Akintola
!warning
Ghorz
Sorry thou
Retract the message
Akintola
Done that
Akintola
Retract the message
Ghorz
👍
Aakash
#Help__Help_Help😭 myModel.objects.all() returning null in website ? for no reason neither it showing me any error or warning after writing half of code for my site, mymodel.objects.all() returning null in my template Views.py # all other code i.e 2 different queryset fun for search, category def allimages(request): all = Image.objects.all() return render(request, "home.html", {"all":all}) urls.py # 2 path one for category second for search path("", allimages, name="there is no syntax error") template file {% for i in all% } <p> {{ i.name }} </p> {% endfor %}
Aakash
when I tried print(Image.objects.all()) it print name of all images in terminal
Aakash
but when i try to render in templates file it doesn't work
Anonymous
How to connect template html file ?
Anonymous
I have created a html file and how to redirect the HTML file from a file to a another file
Bunty chhatri wala..
I have created a html file and how to redirect the HTML file from a file to a another file
Eg: From home to profile? Either do it in your views or use JS
Anonymous
Anonymous
I stuck at a problem while integrating stripe in Django the error is "Must provide source or customer" here is my views.py code https://dpaste.org/yUJr
cj
also, given the error message, check the value of your token variable
cj
also #2... all get/post/put/patch/delete (and other) functions of a view must have a request parameter after the self parameter
(-:
Is there a phone calling library in python
Milan
Is there a phone calling library in python
Im not sure but check out twilio