Atul
Yes
Please make I need this one
Вова
HI guys, do you know how to get the raw html in post method?
Enes
Bought
Bought
There are many functions
🌀
1. I'm trying to get different ID's for different rows.
2. I'm expecting, when I press enter key next row should be added...and that row has different ID for each column...this have to happen for each time when I press enter key
3. I'm using django-ide vs code 1.65.2
5. Python version 3.7.6
🌀
https://dpaste.org/zP5o
Axror
Hi everyone.
I have problem with mysql.
access denied for my root user on django to mysql db. Why this occured? How can I fix It?
😒😒
I'm trying to create subdomains in my project but the libraries are not working perfectly
2 of the django subdomain libraries haven't been updated in like 2 years now
So I'm trying to implement this customly
Like capture a subdomain url and reverse it to my normal url for ex.
Capture, name1.example.com, reverse to example.com/name1
I really don't know how to go about this
Vivek
How to acces the model custome model name on frontend
Anonymous
My code is not working , who knows django
Anonymous
Models.py
Date = models.DateTimeField()
Index.html:
{% for post in all_posts_list%}
<p>{{post.date}}</p>
{% endfor %}
Anonymous
Anonymous
Anonymous
Charly
Anonymous
Charly
Anonymous
I have ran migrate too
Roman
Hello everyone, is it possible to somehow make the username field unique=False? otherwise the client requires that the user's status change after "deletion", but because of the status change, you can not register under the same name.
https://prnt.sc/Vq0SnPgDW_5R
Anonymous
Anonymous
Anonymous
Anonymous
Python manage.py makemigrations
Anonymous
Python manage.py migrate
Anonymous
Here you go
Anonymous
Is this right
McLean
does folium have en map tile
Nandhini
Kindly please anyone help me
I have done my modelling part on stock price prediction
Now I want to do deployment using djanga
Kindly please anyone help me humble request
Doragonsureiyā
Anonymous
buneshwar
Hii i have some issue in serializer
buneshwar
I want to accept nested serializer
Doragonsureiyā
Hii i have some issue in serializer
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
buneshwar
From json file i am getting neted json data but iwant o store in single model in django Rest-Framework
Дмитрий Борисов
Mr.
Hii i am not getting message name only getting "message object(3) "
Doragonsureiyā
Hii i am not getting message name only getting "message object(3) "
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
Mr.
Message delete in room
Meassage name instead of message object(3)
Django
Andrej
Has someone experience in using Django on top of Kubernetes?
The architecture and the used patterns are different from the past. The containers in Kubernetes are mostly stateless and it seems a good approach to use the CQRS pattern, instead of an usual relational database.
Is there a best practice for it?
ask
hi everyone
I want to create async view
https://pastebin.com/GYmY4CJU
but have some problems. In "result" variable i got [<coroutine object SyncToAsync.call at 0x7f051320bac0>] instead of values of result
I need these values to use
how can I fix it and did I write view correctly?
Enes
Hi I want to use cache on my web site to increase the fast of loading. But I don't know how to use caches in Djang. Suggesting any tutorial or video appreciated thank you
Enes
cj
Proton
Hello everyone
Please is it possible to add a validation on an image field in a formset model
As in models with foreign keys as formsets
Mine doesn't seem to work even with the normal django validation on image fields
Any help will be much appreciated
Enes
Anonymous
😒😒
Is there anyway I can publish a users details that I'm pulling from the db, so that an anonymousUser can see it ?
😒😒
Actually the main idea is that a user can build a restaurant and should be able to publish those restaurant details so that non users can see it
But when I'm querying the restaurant, I filter based on users
Been thinking of how I could publish the restaurant
Axror
😒😒
The user already has a preview page b4 he can publish
😒😒
But my query for the preview can't work for publish cuz of the user filtering
😒😒
No, what I need is for anonymousUsers to be able to see users restaurant details
cj
😒😒
If I do this, what about context variable and its queries
😒😒
😒😒
There are more than one users
cj
So many details will clash
then you're doing things in the wrong way ¯\_(ツ)_/¯
you'd better then make a different view for anonymous users and a different view for authenticated users ¯\_(ツ)_/¯
unless you re-write all the things you're doing wrongly, that's the easiest thing you can do right now
😒😒
😒😒
I tried to onclick of publish button, save current users restaurant details to a json object
Which would've work
But the details keep overwriting each other, it's really annoying
😒😒
Guys?👀
Samuel
Good day guys, how can I set up a real time communication between Django and another server synchronously.
I'll appreciate any ideas
Samuel
Please anyone with ideas... I really need suggestions
Maxim
Doragonsureiyā
Please anyone with ideas... I really need suggestions
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 😊
Samuel
I'm building a covid 19 tracker with Django. I have to consume the API from another server on my Django backend.
Is there anywhere I can have a synchronous connection system in Django that automatically detects the changes on the other server and revert
ask
hi everyone
I want to create async view
https://pastebin.com/GYmY4CJU
but have some problems. In "result" variable i got [<coroutine object SyncToAsync.call at 0x7f051320bac0>] instead of values of result
I need these values to use
how can I fix it and did I write view correctly?
Maxim
B
Hello guys, which Django lesson is the best in the YouTube?
Thank you for replying as soon as possible