Jitendra Kumar
Model_name.objects.filter(idno)
Roman
Hello guys! I have 2 apps in my django project and i want to add API. How will be better? Create 2 folders(named API) in each app or maybe create the third django app(API)?
Prathmesh
Himalaya
Hello guys! I have 2 apps in my django project and i want to add API. How will be better? Create 2 folders(named API) in each app or maybe create the third django app(API)?
Do your product/project have normal views as well? If yes then create another folder named API inside each app and define urls, views, serializers in it
Jaydatt
Hey - can anyone help me to solve a query?
Doragonsureiyā
Hey - can anyone help me to solve a query?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Jaydatt
Hey - anyone ? I have made a todo list project using django framework and i need a help in it. I have implemented priority functionality in which user can add priority to his particular task and he can sort it in ascending order. And user can't add same priority to 2 different tasks. But this functionality isn't user-friendly at all. BEFORE Task 1 Priority 1 Task 2 Priority 2 now user wants to update priority of task 1 to priority 2- he need to change task 2's priority first
Jaydatt
now user wants to update priority of task 1 to priority 2- he need to change task 2's priority first How can it possible to swap the priority to both tasks? AFTER UPDATE task 1 Priority 2 task 2 Priority 1 (With help of any data structures?) I don't know how to implement this
Akash
I want take 3 image from different image field in html and upload on database
Akash
So how make views for it
Akash
def doc(request): If request.method=='POST': prod=DOC() Prod.img1=request.Files.getlist('img') Prod.img2=request.files.getlist('img2') Prod=Document (Imag=prod.img1,Imag2=prod.img2) Prod.save()
Akash
This my views so what should I make changes
Axror
It's not working
Is img1 input name?
Akash
Alberto
Hi, I've been working on a model and I've made multiple migrations to DB with updates and changes to this model. I was wondering if I could manually delete all the migrations of this model and make a single one with the final model so when I push to production I only have 1 migration instead of 5, is it safe to do this?
Fatima
I need some help .. My Django blog website is not working now.... ImportError: from deque from collections
Fatima
And also git repository creates many copies of data
Rutherford
use django_allauth, it has that functionality built into it already
𝕲ü𝖎𝖕𝖊
Hello friends how is going?
𝕲ü𝖎𝖕𝖊
I want to ask you recommend some course from scratch about django
Doragonsureiyā
I want to ask you recommend some course from scratch about django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Aubdur Rob
Please any one answer this question.. https://stackoverflow.com/questions/71332219/i-create-a-one-to-one-realtionship-in-django-multitable-inheritance-but-it-not-s
ROFLAND
Hello, who know how it's fix problem? for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: cannot import name 'smart_text' from 'django.utils.encoding
Nayan
I have to do this in a similar way how can i able to do it ?? https://stackoverflow.com/questions/67642409/how-to-display-data-lists-in-different-tabs-in-django-template My goal is to display data in 3 tab section also i want to apply django filter to filter the table data in each tab section Can someone please help me out I couldn’t able to figure it out thank you
़д।युषी। ✽
Hello everyone! Anybody help me to deploy django application I have run Python manage.py check --deploy so its showing no issues but not running on public ip.
(⌐■-■)
Yea
(⌐■-■)
I've seen people deploy... But correct me if I'm wrong
Ambuj Kumar
I want to learn django , anyone suggest to me where to start
Doragonsureiyā
I want to learn django , anyone suggest to me where to start
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Mahadev Sankar
Which language is it in Django's database?
Mahadev Sankar
thank you sir 🙏
Manu
Reverse for 'delete_event' with arguments '('',)' not found. 1 pattern(s) tried: ['delete_event/(?P<id>[^/]+)\\Z']
Manu
any idea with this error code?
Himanshu
If i have python projects... Can someone convert it into Django?
Himanshu
🤔
The
How do I deploy a project that uses celery and channels to aws? Anyone with a tutorial?
xzenon
I've seen people deploy... But correct me if I'm wrong
In fact, with Netlify u can only deploy frontend apps, React Vue Angular, etc. But there's a way to communicate with a serverless backend via Netlify functions.
Dragon
Anyone good in django pls meesge me i want one small help , i am unable to put my query picture here
Doragonsureiyā
Anyone good in django pls meesge me i want one small help , i am unable to put my query picture here
We know the rules are quite long, but read them, because on average, hundreds of users are banned from this network every week. Reading the rules will help in avoiding this pitiful fate.
Dragon
I am new in django can anyone suggest how to learn some path can anyone suggest me
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Anukul
I want to djano besic
Doragonsureiyā
I want to djano besic
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Miqo
Hi how to connect react js to django?
xzenon
Thanks for the clarification
You're welcome.
xzenon
Hi how to connect react js to django?
U'll definitely find the answer on Google.
Miqo
Great thank you
(⌐■-■)
Hello. I'm using chart.js with Django to create real time graphs. I observed that the y axis of the chart changes. Can someone suggest a way to keep axis constant
No one
Can anyone please provide git link of question answer/quiz website in django web development?So that I can modify it (not any official website).
George
Explain please?
No one
Why don't you make your own?
I don't know that. I only started .
Абдулазизов
I hosted my django project paddingpack.uz but when i turn debug from true to false my static files are not working
Anton
Hello everyone. Could you help me where can i find an answer with problem "UnicodeError at" when I try to send e-mail
ኃይሉ
DeleteView is missing a QuerySet. Define DeleteView.model, DeleteView.queryset, or override DeleteView.get_queryset().this error occured only for delete view i used class based views for other functionalities also.could you help me?
Kalandhar
Nobody
Hi everyone. i want to video conferencing in my django application. Using Agora api. Any suggestions or any tutorial article.
vector
I am trying to create a blog application using mongo db but whenever i try to save data from django admin i get Attribute error 'NoneType' object has no attribute 'attname' can anyone help?
vector
here's my models.py