Chiranjeev
https://ibb.co/PMKkYxY https://ibb.co/8gWWJ1T
Chiranjeev
how ccould i select those options in api view
Mirco
and one more thing there are no error will showing in the project
Read the post I shared with u to understand what's behind that strategy Then study on Django docs how to customize admin panel You need to know both
Mirco
how ccould i select those options in api view
You need to include that choice into the Serializer
Chiranjeev
oky
Harsh
How can I perform softdelete in django model
Harsh
Anyone have idea about it
JP
Anyone have idea about it
add a boolean field named is_deleted and set it true, then access the object by filtering is_deleted=false
Chiranjeev
https://ibb.co/nmgx3fb https://ibb.co/S0yN5tR
Chiranjeev
idea??
Mirco
https://ibb.co/nmgx3fb https://ibb.co/S0yN5tR
Boolean field and you pass strings as choices... Please study more
Mirco
Otherwise you will have lots of headaches
Anonymous
You were admin right?
Anonymous
And you were not
Mirco
And you were not
I'm an admin, what's your problem ? 😃
Anonymous
No Problem, Just asking
Chiranjeev
https://ibb.co/cy1vb52 https://ibb.co/ZHsXD5X
Abdulloh
Hello I'm going to manage user permissions with checkbox How can I connect html checkbox with django?
Kashik
Hello everybody. How to correctly call the second application from the first to get the same response, as if the call was external? eg call localhost:api params. i need to use requests lib or some tool exit in django?
Doragonsureiyā
thanks@micro working
You're welcome! 😊
Chiranjeev
https://ibb.co/TwVLthP https://ibb.co/bPCJkDm
Chiranjeev
what would be the error
Chiranjeev
can anyone give me his valuable hour
Mirco
Why don't u spend some time to study instead ?
Chiranjeev
Why don't u spend some time to study instead ?
Yes I am but if I would deliver this API then I would be getting a better exposure to django
Chiranjeev
I would appreciate help and might this help would give you a long time benfit
Chiranjeev
anyone ??
Doragonsureiyā
anyone ??
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Chiranjeev
great thanks for letting me know about the protocols of this group u too
cj
did you find it?
here you have it: https://www.feldroy.com/products/two-scoops-of-django-3-x you're welcome
John
is it possible to forbidden same data add in django admin ?
j&a
What is THE book that I need if I want to start Django développement? I have money only for one book
Doragonsureiyā
What is THE book that I need if I want to start Django développement? I have money only for one book
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Irrfan
Hi guys Assume that we have Exam model that contains a ManyToMany (Call X) field to another model called Student Is there any way to filter all the Exams object that their X field contains a specific student object
Anonymous
What is THE book that I need if I want to start Django développement? I have money only for one book
You don't have to spend money. There are many tutorials available on internet even documentation of django is strong enough to learn django..
Nayan
so u can just create a custom field and set it as Primary Key
But how to increment the count, i achived this with using raw sql query and concat the string
Nayan
There's the auto increment option if I well remember
If i assign autoincrement then by default it will be primary key
Mirco
If i assign autoincrement then by default it will be primary key
Nope, if it's a new field you need to specify it otherwise the primary key will be automatically added by Django
Nayan
If i specify id = autoincrement Serialno = charfield( primarykey=true) This case is not possible correct
Nayan
Autoincrement needs primary key compulsory correct
Anonymous
Guys... Which is best way to integrate Django with react
cj
Guys... Which is best way to integrate Django with react
build a REST API or GraphQL with Django an consume it with your React app
Anonymous
build a REST API or GraphQL with Django an consume it with your React app
Is there anyway to create a stand alone project of django and react instead of maintaining two projects and deploying them differently how can we just integrate react with django and deploy only django
cj
Is there anyway to create a stand alone project of django and react instead of maintaining two projects and deploying them differently how can we just integrate react with django and deploy only django
you can have all the React JS/CSS files as statics (and being served by a webserver, obviosuly) inside your Django project folder... but the best thing to do is keep them as separate projects, your future self will thank you that a lot, trust me
Roman
Hi! I'm looking a developer for project. Who have a time? :)
Anonymous
Any any one tell me how to deploy all algorithm in django
Anonymous
I had build text generation model using gpt 2 and i want to deploy it in django how can i deploy whole algorithms
Anonymous
I had build text generation model using gpt 2 and i want to deploy it in django how can i deploy whole algorithms
If it's a script, which it probably is, you can plug it into a django app.
Anonymous
Learn django programming... Your question is to general
Can you recommend me something where i learn fast i have only few days left to deadlines.
John
Hey Django fellas, I need a code buddy. One who is ready to learn & explore the limits of code. 😜 I'm tired of being a lone coder, any advice. 🙏
Mirco
because you need to import it from django.db.models.fields
Anonymous
Hello
Anonymous
What is the best source for learning pyqt?
Doragonsureiyā
What is the best source for learning pyqt?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Rotana
Dear all member in this group i would like to ask all of you can we use Django with Hadoop ?
Kusuma
Hi, guys, I want to allow only is_superuser can be login to django admin, please anybody tell where or how to start, I have googled it and found nothing relevant 🙏
Charly
Dear all member in this group i would like to ask all of you can we use Django with Hadoop ?
yes, I mean there is no real integration between them, you can push and retrevie data from HDFS