Elijah
Good day to everyone, I need a little assistance....
I have a microservice application using keycloack for authentication all running in a docker environment, but when I try connecting to keycloak it says cannot resolve host "keycloak" but I can connect to other services without any problems
Mohd Hanafee
Hi guys,
How do I send a datalist id value?. But list display with text information
Macaw
Sahil
Hi Everyone,
I have been given a task to get list of books and corresponsing author name ( atleaset 5 entries ).
# Create your models here.
class Author(models.Model):
Name= models.CharField(max_length=40)
Email= models.EmailField()
def str(self):
return self.Name
class Book(models.Model):
Name = models.CharField(max_length=100)
Author=models.ForeignKey(Author, on_delete=models.CASCADE)
def str(self):
return self.Name
Sahil
I can fetch the Book's author name by running: Book.objects.get(id=1).Author.Name
عَبٔدُ الٔحَكِيم
can i make API without any frameworks in python someone knows?
Sahil
But how to get all the books along with their Author names?
𝙑𝙞𝙯 𝙋𝙖𝙡𝙖𝙨
𝙑𝙞𝙯 𝙋𝙖𝙡𝙖𝙨
Sahil
Massoumeh
Hello everyone,I hope you're all well.
I hane a problem about running the project.
When I want to run my project, the error(No such file or directory) comes for me.
Could you please help me to solve this error.
Pythonero
Dipanshu Vora
Can anyone help me...
How to save all the logs of response and request in django admin panel
Pythonero
Pythonero
Pythonero
That's windows
https://stackoverflow.com/questions/55142774/how-to-activate-virtual-environment-in-django
Massoumeh
Neetanshu
Anyone here worked with schedulers in django and know how to schecule sending emails yearly monthly weekly
Doragonsureiyā
🕊Emocean🕊
Pythonero
NightE
What is the best way to store cart items for anonymous user?
$€
i got an a project in my college and i done it at this time but this issue is not solved
Maxim
Maxim
$€
Okk
$€
In my project the admin panel to do the admin tasks.
But I need a admin module like the user module.
The admin module want separate pages for catering works and events.
Also the user need to update his profile
Slow_Poison
Massoumeh
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.
Tура
I am sorry, I used these websites to post my code here, but it is not posting yet
Tура
what should I do
Maxim
what should I do
at the end the button to copy the address or the address from the address bar
Tура
ok, just a question model.objects.filter() how can I serialize it, and return JSON
The Inspired
Tура
Yes, I did
Tура
But it is not returning any data
Tура
Also, model.objects.all()
Matheo
Hello guys how do i reduce stock from stock model when order is made please help i have spent the entire day trying to
Matheo
To make work
javad
hey guys . i want to return auth user in queryset . what sould i do ?
class EditProfileView(generics.UpdateAPIView):
permission_classes = (IsAuthenticated,)
serializer_class = EditProfileSerializer
def get_queryset(self):
return self.request.user
javad
Юлиан🦉
anyone can tell me, in dj-rest-auth, how can I operate with response hat contains 'key' on authentication success? Or tell me , please, where I can get resources about this?
Nati
Can we develope big system with django?
𝙑𝙞𝙯 𝙋𝙖𝙡𝙖𝙨
Mahkam
Hi. Is it possible working with realtimechat in DRF?
Grace
How do i add an Object to a ManyToManyField with self, I have tried chat.contact.add(user) but wont work
Peter
.
How can i use CSS in Login_view function
Adrian
How can i use CSS in Login_view function
You should override the login template https://stackoverflow.com/questions/55369645/how-to-customize-default-auth-login-form-in-django this is an example
Rag
When run 3 microservices using docker it throes this error
Rag
Anyone can help me
Rag
Is the server running on host localhosr[::1]
Rag
And accepting tcp
Rag
Ip connection on port 5432
Rag
Any one can help
Rag
?
Rag
??
Mahkam
.
Massoumeh
Hello everyone.
I have a question that; why when I want type (max_length) for Charfield, just (max) comes for me.
𝙑𝙞𝙯 𝙋𝙖𝙡𝙖𝙨
Massoumeh
Abhie
Hey guys hoping u all doin grt, I'm new there in this grp I had a question related authentication, would you mind helping me?
Пейн✙
Abhie
I want to generate random code as a password and show it to user the plain text not hasse text. However i want authentication to be done by using hash text i.e don't wanna save plain text in database
cj