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
Дауран
Jamil
Jamil
?
Jamil
Or flask
Jamil
i need access to db
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
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
Use pastebin.
Siddharth
the model
Siddharth
view.py
Rohan
/warn wall of text
Rohan
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
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
Muflone
Gil
Muflone
maroong
Ghorz
!warning
Akintola
Sorry thou
Akintola
!warning
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
Anonymous
Anonymous
I have created a html file and how to redirect the HTML file from a file to a another file
Aakash
Bunty chhatri wala..
Anonymous
Bunty chhatri wala..
Bunty chhatri wala..
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
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