Andrej
Has someone experience in using Django in a cloud native environment?
I really like Django, but I'm not sure if it is the right component when it comes to Cloud architectures. Maybe someone has advice in this combination.
Karz
Can anyone suggest me the best YouTube course to learn Django from Scratch to advanced
Suhail
i cannot upload my django file on aws server.can anyone help me.
Ivanko ✙
As soon as I create a group in the admin panel, it is assigned to all users by default. Who knows what could be the reason? I have a custom user and there are three roles in the project
.
null
dani
hi , i need to use a varibale from a method outside the class inside a method in a class the two methos are located in the same file view.py who can help me
Doragonsureiyā
Doragonsureiyā
dani
could be great but in this group is no allow use pictures
dani
https://linkode.org/#8LRugeYV5FME2txcjNgmt1 in this is my code i need to use the variable value from the line 3 in the line 18 hoiw can i do this?
Karz
Nitesh
Anyone know how to write api in django for keycloak
Doragonsureiyā
Anyone know how to write api in django for keycloak
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
Ravikumar
Hi everyone , when i pull the code into production iam getting some problem in migrations, if i change the in models its not alter in production
Doragonsureiyā
Ravikumar
How to manage migrations in production and local system
Doragonsureiyā
Amir
Hello friends, have a good time
I deployed the project to Ubuntu server
When the ip of the server enters the project, it comes up
This project has a management panel, the IP of the management panel is different from the IP of the server
When I try to enter the management panel, it gives me a connection error with the service
I got a log request and it gives error 404
Where do you think the problem is?
What should I set so that the management panel server is connected to the server and the project?
Alexey
hello. i have model Category. i want typing in some function its var. what i have to use?
def func(model: ???):
print(model.objects)
Alexey
Hunter
Can anyone suggest a free django project deployment site?
Omar
Omar
Omar
khojibola
join() argument must be str, bytes, or os.PathLike object, not 'method'
khojibola
why i am getting this error?
𝙰𝚜𝚑𝚠𝚒𝚗
khojibola
title=request.POST["title"]
poster=request.FILES['poster']
url=request.POST["url"]
desc=request.POST["description"]
addimg=request.FILES.getlist('addimg')
# try:
k = models.Portfolio.objects.create(
user=models.Profile.objects.get(user=request.user),
title=title,
poster = poster,
url = url,
desc = desc
)
khojibola
this is my views
khojibola
and error also in this field
khojibola
but i could not find it who can help me
Maxim
khojibola
aa i think i found
khojibola
thank u
Alexey
Tiger
rais
hello, I want to deploy a Django app to production and I was looking for solutions to store secret API keys
I was thinking to use dotenv but I don't understand if it's safe using this method in production
any opinion?
Neeraj
Yes. Sqlite and mySql or Postgres or as you want.
Shamnad
Boukar
De
Doragonsureiyā
De
What are you talking about?
Mr_47
i am deploying my django application but i what user to get email activation link direct in their own email account
rais
did u use it in production?
Hunter
Danilo
Hi guys, I’m facing a problem with django paginator and bulk_update, i have 4 pages but paginator list the records on the first page after that the records come with 0 but paginator still looping
Shamnad
Shamnad
rais
U can encrypt ur env variables
ok but when I write them in the env file I have to write them normal as strings right?
then when I want to use them (for example) as parameters of a function in the view how do I handle encryption and decryption?
rais
thanks anyway
rais
maybe with a key stored in the admin record could be a solution?
dani
```@login_required
def formato(request):
if request.method == 'POST':
my_var = request.POST.get('format')
print(my_var + "este es el formato")
return HttpResponse("exitoso")
return HttpResponse(" no exitoso")
""" elegir fondo """
class FondoView(LoginRequiredMixin, TemplateView, View):
template_name = 'fondo.html'
#print(requests.COOKIES.get('key'))
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
#print("otra vez "+ my_var)
all_records = Image.objects.all()
filtered_records = None
print(my_var + " nueva formato")
dani
how can i use the my_var variable into the def get_context_data method ?
ALi
Hello, if anyone has worked with pwa (django-pwa package), please tell me this problem:
When I want to download a PDF file that I put in the form of a link through the database, in addition to the download link, the service worker source is also added to the page along with the download link. I don't want to show me the source of this serviceworker.js file, how can I handle this?
Debopam
Hello can anyone help me , actually I am working on a chatapp project but I don't know why my chatsoket is not connecting , in routine.py file i configure chatsoket path is : ws/room_name/ but when I run its showing not found i don't know why it's happening, i searched a lot but I haven't found any solution, if possible then please help me anyone please
Trident of fate
Hello, can anyone explain how to add custom link in myapp menu block in the admin panel?
Debopam
You can search in Google for it
https://realpython.com/customize-django-admin-python/ and also you can read this article
AH
Hi, I need help please.in my application when we search something after 1 minute 4 seconds.it gives 502 ( bad gateway) error..i am thinking because of timeout..any idea how to increase time in django
Full-Stack Python Developer
What is best practice for hosting django ?
Currently running in
Django+gunicorn+nginx
Kirill
Hi! How can I run debug panel in Sitemap to look SQL? For examle: http://127.0.0.1/sitemap.xml with debug panel?
Moni
I am new to django, i am facing error no migration to apply
Hernan
Anonymous
Hernan
hehecatto
I m having a problem in django.......-bash:./manage.py: permission denied
Mazin
Mazin
hehecatto
Reignbow
Anyone knows good resource for learning advance JavaScript?
Try mentioning free resources
Denes
name 'httpResponse' is not defined
Denes
how to solve it pl
Maxim
Denes
from django.http import HttpResponse
Denes
but still bring error