Anonymous
Now you would not need to go and change it in every place in your code base
Rahimi | رحیمی
Hello!
We have a project including three parts :
Store, blog and services. they are implemented separately.
now we want to make a central loggin and authentication system for them.
I searched about SSO and the best suggestion I found, was "django-cas-ng". Im still not sure if its suitable for our case and need help for using that.
I will appreciate any experience about using this service.
tushar
Hello how to use break in views.py Def function in if loop
♈
I facing error in dependency drop down list
♈
After Ajax call show data
♈
On submit give a error "select a valid choice "
♈
And I also write code in forms.py in value try expact code
♈
Please help anybody have idea
♈
https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html
♈
AR
Hello,
How I can display 3 tables in one table in HTML and there is no relationship between the tables??
♈
How to create depending chains drop-down with
AR
I trid to use for loop but it works to display only data of one table , when I tried to do for all no data appears in html table
♈
Any drop down change after value change
AR
No, I mean I need to fetch data from database but these data from three models there is no relationship between them
MHJ
Hi guys
where i can learn Django free?
Anonymous
Vitaliy
Віталій
DAny
Hi, guys. I am confused how to deal with users. I need to create users, given them a profile and permissions in Django rest framework. If someone have some information to read or watch please. Thanks in advance
Mirco
DAny
Mirco
DAny
Ooh I see. No, it is not mandatory. Also, I need to generate a token for each session. I forgot to mention it
Anonymous
Vitaliy
Anonymous
Its in the docs
DAny
DAny
Owolabi
Hello @here! I would appreciate anyone that can guide me through deploying my Django app on Kubernetes. I'm doing this for the first time. Thank you.
Meer
Is there any way to deploy django app without paying. For portfolio or showcase with static and media files, One way O know is heroku I also deploy on it but media files not rendring or other way to connect with aws s3 but It take money and other way is pythonanywhere but it's valid only for 3 months and other hosting site that perfectly host my django app frre of cost with media and static files?
Yog
How to show auth_group_permission of every group. I have to show and edit the group permissions in a table i have created in management section
Bakhodir
Hi everyone, I have a problem with redis.
Bakhodir
Hi everyone, I have a problem with redis.
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/1",
'TIMEOUT': 300,
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient"
},
"KEY_PREFIX": "v1"
}
}
Bakhodir
redis.exceptions.ConnectionError: Error -2 connecting to redis:6379. Name or service not known.
𝕯aniel
Bakhodir
𝕯aniel
ubuntu 20.04
Try to Google search maybe u need run redis
Вин Король Саксов
Вин Король Саксов
Eugene
Hey,guys.
How can i run my server with management/commands files ???
~:$
Python manage.py your_command_name
Anonymous
Eugene
Eugene
Thank you
Meer
purva
Hi, I have 4 fields in model
Srcpath and B,C,D
getting srcpath from oneapi and saving it in django model remaining fields value is null string.. Getting value of B,C,D from another api and need to update it in last row where srcpath is present..
How can we do it?
Игорь
Hi. My function accesses the database, takes data from several rows. And then it del those rows.
How can avoid a situation where two processes can access the same rows?
It seems to me that between receiving data and deleting - another process will receive the same rows with data.
i use PorstgreSQL
docs = Punk.objects.values()[:quantity]
Punk.objects.filter(id__in=ids_for_delete).delete()
Flavio
Helo everyone... I would like to learn Django. Someone could help me and suggest a book
Flavio
thanks a lot
benshi
has anyone dealt with mutiple files upload on DRF?
benshi
on DRF?
benshi
i have been everwhere😭
benshi
maybe i dont know how to google
Doragonsureiyā
Ali
guys mysql 5.7 or 8 for django project ?
Charly
Suhaib_0.0
Hello
Should I learn database to work on Django
Suhaib_0.0
R_OU
Vitaliy
It depends on whether you need a real job with high-paying projects or not.
Christof
try now
Suhaib_0.0
Hello
Should I learn mysql to work on Django
Charly
Suhaib_0.0
No
I mean can Django do what mysql does
Suhaib_0.0
I'm still a freshman.
😁
Charly
In fact Django needs a DB like mysql
Charly
Suhaib_0.0
both
I don't understand.
Suhaib_0.0
Please explain more to me