Nerd88
How to call python script on the file upload on web app?
Rian
Hey guys
Rian
Anyone here have created a Dapp using Django and Web3.py?
Anonymous
Guys, There's A public service where everyone knows the credentials to login. But only one can use at a time. If someone else is trying to login, say something like "service is already using"
Anonymous
How can I have such a solution?
Thanks!
Вячеслав
i use django. Now i check a specific field where is placed message or the name of any other field from the other model and replace it with the field help_text. How can i rewrite next code using CASE WHEN THEN with annotate? And is it possible?
https://pastebin.com/XubgzQhJ
Anonymous
I am making a django project. It works perfectly in my local system. But I chose to serve the media files by uploading them in cloudinary. So I installed it by pip3 install django-cloudinary-storage and did the necessary for setting it up.
But while uploading I am getting an 'NotImplementedError' error: this backend doesn't support absolute path. What's the solution. Anyone kindly help
M
Anonymous
Did anyone know how to watermark images by using AWS s3 bucket ? Please help me.
Manuel
I'm trying to do a search by an argument and this argument is passed via post but my doubt is what type of action could it be if I just want to get the result
Manuel
Get or post
Lone
How to render request.session to mail and send a mail
T I T T U
When I'm try to install pip install djongo
It's occur
Could not install package due to an OSERRoR :[winError2]The system can not find the file specified :c\\python39\Scripts\\sqlformat.exe
T I T T U
Si
hi guys
Si
which one is better php or django?
Isaac
Si
clients prefer php for backend
Zey
U can't compare them
Si
how to convince them?
Some1🌱
By building products
Some1🌱
Taking into confidence.
Si
William
Editing Name
Hello guys, how save using:
test = MyModelTest.objects.create(name='Test')
and return id of new data in 'test' variable?
bikrant
I'm Doing get_uset_model().objects.get(data)
Im getting a error
'type object User has no attribute objects'
bikrant
Using the get_user_model().object works
bikrant
Objects is right keyword to use right?
Mirco
Abhishek
Anyone can tell me how to fix this problem -django.db.utils.ProgrammingError: operator class "varchar_pattern_ops" does not accept data type integer
bikrant
Yup
Why it's showing error then?
bikrant
Mirco
I think you missed custom manager inside your custom user model
bikrant
Mirco
Anonymous
Hi , I want to show my clients a message when tehy got new messages! How can i do?
ms
I want to learn django
🅰️🅷🅼🅰️🅳
Please help if you had a question
Mirco
Doragonsureiyā
I want to learn django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
ms
! djangotut
want to know its advantages
before start learning
i have a background of node js .
is django a frame work with graet advantages ?
ms
Mirco
tnx
does it have distadvantages ?
It's not born async, so compared to your node js experience, it can appear you "slow"
but full async is coming ( for now views and Middlewares are async )
W
Hi guys, I've a memory issue when I structure data like this:
[{name: 'Europe', data: [{name: 'Germany',value: 767.1}, {name: "Cyprus", value: 7.2}]}, {name: 'Africa', data: [{name: "Senegal",value: 8.2}, {name: "Ghana", value: 14.1 }]}]
The following code is the way I tried. The data is structured as requested but the final list (listsocios) is missing some values and repeating another ones. I guess it is memory issue. Whats your thoughs? Whats would be the more effecient way to struct?
class GraphSociosProvinciasView(TemplateView):
template_name = 'socios/socios_prov_graph.html'
def get_context_data(self,*args, **kwargs):
context = super(GraphSociosProvinciasView, self).get_context_data(*args,**kwargs)
listsocios=[]
listsocprov=[]
#Por cada provincia guardo los socios
for n in range(1,25):
sociosp=Socios.objects.all().filter(provincia=n)
TotalSocios=sociosp.count()
listsocprov.clear()
if TotalSocios!=0:
for socp in sociosp:
listsocprov.append({'name': socp.apellido,'value': socp.numero_socio},)
nombre_provincia=socp.get_provincia_display()
listsocios.append({'name':nombre_provincia,'data':listsocprov})
print(listsocios)
context={
'sociosprov': listsocios,
}
return context
Аброр
has someone ever had an experience in validating recaptcha token in the backend?
Ted
Can someone simplify for me how I can use ALLOWED USERS
ken
while running django on linux, and uploading media, I am getting permission denied (requires dynamically creating folders as date name),
tried chmod 775 to www-data but not working, any suggestions fellas
𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
anybody have experience in integrating firebase for login?
I need to use firebase for phonenumber to login with otp. any help would be highly appreciated.
ken
djigit0s
Hi! how to perform case insensitive overlap search for an ArrayField?
questions = Question.objects.filter(question__overlap=text)
Siddharth
Hi,
Can anyone tell me what settings in django do i need to apply,
To make it work with aws(amazon web services) auto-scalling + load-balancing on ec2?
(I use django + nginx + gunicorn).
I tried various methonds but nothing is working.
Avi
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: admin
Avi
How to solve these error??
Avi
I am deploying my django app
𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
Mirco
Doragonsureiyā
anybody?
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 😊
Mirco
𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
Mirco
𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
by using django-otp can i achieve it?
Karthick
I want create database and separate user id for that database in pgadmin
Neo
what is the better way to update field values suppose if i want to assign roles to a user i send data like this ['role_1', 'role4', 'role7'] and i want to set remaining roles as disabled. i need set the roles which are sent through request at a time and rest assigned previously have to unset.
Abhinav
hello guys,
i have a question that, is it better to sort table data in django or to apply sorting in frontend, like javascript
Avi
William
Akash
How can export multiple table convert CSV file without using pandas please help me how can doing
Daniyal4Real
Is here anyone speaking Russian and watching HowdyHo?