Gil
Yes i have added that
Hi!, try to give more detail, tests output, play and tell us the output with shell...
Anonymous
Muslim
Anonymous
Anonymous
Anonymous
Hello guys! I'm getting this error when I try to run migration in my django cartridge ecommerce website
https://pastebin.com/R8GLq8UX
How to fix this ,please help
Sheshadri
Tanguy
Hello everybody, I'm new to django and want to learn it by making a real project. I want to know what is the best project structure with many module ... in django 3. Please need help or a link.
Mohamed
Why does admin page does not look good on heroku? Anyone faced the same issue?
Jo
Anonymous
Jo
Jo
Tanguy
Carbon
hii i am getting error
Carbon
MultipleObjectsReturned at /bill/KRISHNA
Carbon
in billing app
Carbon
can anybody helpme
Shashank
Facing error
Attribute error : 'tuple' object has no attribute 'lower'
Please help
Abhilash
In a django form there is an input dropdown field i want to fill the next input field based on dropdown select .there is a different model for this when we select an option from dropdown its value should be displayed in next field
Please someone help me out
Dinesh
Hey, am also looking for help. I have created a django project using visual Studio. I need help pls
Anonymous
Why I am getting success = False always .... When making recptcha small project
Eng. Mohamed
Hi All,
i have context processor to list categories.
i want to exclude two categories to template them separately.
when i print both in shell it works fine.
but in templates filter only is working and exclude is not working.
can any body help to make exclude working in template?
my code is here ...
https://pastebin.com/Ei07McRe
Gil
Gil
I'm wrong, exclude can be called without all.
Anyway You can play with sum/rest querysets, it will reduce calls to db
Eng. Mohamed
Eng. Mohamed
if i used Category.objects.all() .. it worked fine in template
Eng. Mohamed
when i am using filter() it works in in templates
Eng. Mohamed
the only one is not working is exclude in templates
Wang
Can i use assertTemplateUsed in repr of python?
Wang
https://pastebin.com/eNHGxY2G
Wang
who can help me?
Wang
I want to use assertTemplateUsed in REPL
Wang
but it can not do that
Carbon
hii i am getting error MultipleObjectsReturned at /bill/KRISHNA in billing app can anybody helpme
Wang
Carbon
no
Carbon
can you help me out
Gil
Eng. Mohamed
Othery_way = Firtst query set - secondqueryset
It worked when I did :
categories = Category.objects.exclude(id__in=admin_categories_id)
categories = categories.prefetch_related().annotate(total_product_category=Count('post'))
i mean when i changed:
categories = Category.objects.prefetch_related().annotate(total_product_category=Count('post'))
to
categories = categories.prefetch_related().annotate(total_product_category=Count('post'))
it worked fine
Thanks alot
Eng. Mohamed
great thanks
Anonymous
hello
Anonymous
any one know how to use raw query in django
Anonymous
i have named array and I want to save it using raw query in djnago database
Anonymous
Anonymous
I am making recptcha and when user inters details it's always fail in verification what should I do
Anonymous
Hello guys! I'm getting this error when I try to run migration in my django cartridge ecommerce website
https://pastebin.com/R8GLq8UX
How to fix this ,please help
Anonymous
Hello guys! I'm getting this error when I try to run migration in my django cartridge ecommerce website
https://pastebin.com/R8GLq8UX
How to fix this ,please help
Deepti
Can anyone pls help me in my project??
.https://github.com/coder135792468/Js-code-Coach?files=1
For backend using django😐
Vishal
Mirco
Deepti
No , i am unable to complete this project due to some reasons
This is my college project
Deepti
Doragonsureiyā
Yes
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Deepti
Lelouch
Pg_comfig executable not found
Help
Cant install psycopg2
Muflone
Lelouch
Same errror
Muflone
it will always tell you the same error until you install pg_config
Lelouch
Yes how to do
Muflone
get postgres client libraries for your OS
Lelouch
Can u explain
Muflone
you need to download and install that libraries
Lelouch
Can i use psycopg2- binary
Muflone
psycopg2 is a python module
it needs a postgres library
Lelouch
Muflone
postgres client libraries
Lelouch
Ok thx i will try
Lelouch
Muflone
Lelouch
Only postresql for downloading
Lelouch
Not found libraries
Muflone
what OS are you using?