Gil
Yes i have added that
Hi!, try to give more detail, tests output, play and tell us the output with shell...
Gil
In this group,you guys are not nice I have a problem in django ,I have been posting my questions here no one seems to reply ,when I post my code the admin always remove it
I m sorry for your thinkings and experience, we are here for help us mutually with best effords. Try to recopile more info more detail and paste in online tool to share, you are welcome!
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
Anonymous
Comment admin code and run migrations
How do u mean I don't understand
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?
Tanguy
please go through documentation https://docs.djangoproject.com/en/3.0/
thank you, but I already check that. Still confuse how to start, If you know symfony and is bundle abstraction, I want to know how people deal with complex project structure and their best approach .. th official doc just give the basic
Jo
thank you, but I already check that. Still confuse how to start, If you know symfony and is bundle abstraction, I want to know how people deal with complex project structure and their best approach .. th official doc just give the basic
please have a look on these sites https://tutorial.djangogirls.org/en/ https://simpleisbetterthancomplex.com/series/2017/09/04/a-complete-beginners-guide-to-django-part-1.html
Tanguy
Someone should help me pls Been researching on this for the past two days ,can't get it done
try find in your model, may be you really have duplicate a field somewhere..
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
Doragonsureiyā
Hey, am also looking for help. I have created a django project using visual Studio. I need help pls
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 56k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
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
I'm wrong, exclude can be called without all. Anyway You can play with sum/rest querysets, it will reduce calls to db
Gil
I used Q .. but it gives the same results
If the query in shell works well, must work well too in backend, can you confirm that frontend is ok?
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
Carbon
no
Carbon
can you help me out
Wang
can you help me out
my answer is like your one too, no
Gil
the only one is not working is exclude in templates
Othery_way = Firtst query set - secondqueryset
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
Muflone
I just told you ho to get two value of dic
sure and I thank, I just fixed because it was wrong 😄
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😐
Deepti
No , i am unable to complete this project due to some reasons This is my college project
Doragonsureiyā
Yes
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Lelouch
Pg_comfig executable not found Help Cant install psycopg2
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
Muflone
postgres client libraries
Lelouch
Ok thx i will try
Muflone
Lelouch
Only postresql for downloading
Lelouch
Not found libraries
Muflone
what OS are you using?