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
Alex
Hello, How I can display 3 tables in one table in HTML and there is no relationship between the tables??
Google html nested tables. The last time I tried (4 years ago) html wasn't supporting it without some hassle. That time I used some vue plugin for that.
AR
No, I mean I need to fetch data from database but these data from three models there is no relationship between them
Maxim
Any drop down change after value change
put it all in one post and delete the extra ones please
MHJ
Hi guys where i can learn Django free?
MHJ
Hi guys where i can learn Django free?
please suggest me some people or book or vidoes .
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
DAny
By creating a Profile is not mandatory
Sorry but what do you mean?
Mirco
Sorry but what do you mean?
why do u need a Profile ?
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
Its in the docs
DAny
Its in the docs
Thanks man.
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.
Bakhodir
𝕯aniel
ubuntu 20.04
Try to Google search maybe u need run redis
Vitaliy
Heroku has free plan. But with their domain
Heroku has an ephemeral filesystem. So all your uploaded files will be lost as soon as your dyno restarts.
Вин Король Саксов
Eugene
Hey,guys. How can i run my server with management/commands files ???
~:$
Python manage.py your_command_name
Eugene
Python manage.py your_command_name
I mean, with my project )) how can i set up python manage.py runserver to run my command and another things ? )
Eugene
you can add custom commands
How can i add them ? )
Anonymous
How can i add them ? )
https://docs.djangoproject.com/en/3.2/howto/custom-management-commands/
Eugene
Thank you
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
Doragonsureiyā
Helo everyone... I would like to learn Django. Someone could help me and suggest a book
Please read the pinned message of the group to know more about this group, the rules and also you'll find resources and learning materials there: https://t.me/Python/1162861
Flavio
thanks a lot
benshi
has anyone dealt with mutiple files upload on DRF?
Вин Король Саксов
has anyone dealt with mutiple files upload on DRF?
there is million examples of how to do it, in google
benshi
on DRF?
benshi
i have been everwhere😭
benshi
maybe i dont know how to google
Ali
guys mysql 5.7 or 8 for django project ?
Suhaib_0.0
Hello Should I learn database to work on Django
R_OU
Hello Should I learn database to work on Django
for Simple work no django is orm
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
Suhaib_0.0
No
I mean can Django do what mysql does
Suhaib_0.0
I'm still a freshman. 😁
Charly
I mean can Django do what mysql does
You can't compare a database with a web development framework
Charly
In fact Django needs a DB like mysql
Suhaib_0.0
In fact Django needs a DB like mysql
Should I learn mysql Or just merge Django with mysql
Suhaib_0.0
both
I don't understand.
Suhaib_0.0
Please explain more to me