Ahmed
Can i use selenium in djanjo project ?
Ahmed
Yes
How ?
Doragonsureiyā
How ?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Ahmed
Okay
HRITIK
In django while uploading images using image fields and upload to fun it is showing no image found error
HRITIK
Plz explain
HRITIK
It has been added
Maxim
It has been added
settings applied?
HRITIK
Actually whats happening Prod=models.ImageField(upload_to='name of folder') And in template I write img src='{{tw.Prod}}'
Shivam
How can we perform visualization on data and render it to new page Any one knows?
Ali
How can we perform visualization on data and render it to new page Any one knows?
HttpResponse(render(request, 'path_to_file.html', context={'data': data})) is it ?
Ali
By charts. Js
Lol i think it's question to Front side not back, also try to convert your data to js data, i used something like this: let data = {{ data }};
Shivam
Ohk
Manuel
good afternoon every one from here from cuba , I'd like to know if there is something bad here wich is not working to me
Manuel
{% if "page" in request.get_full_path %} active {% else %} djkas {% endif %}
HamidReza Fekri
Hello i start learning python, django,db and etc in bootcamp these days i'm working on my final project and seriously I need help My final project is online shopping
HamidReza Fekri
and I hope you can help me to be django developer
Mohammad Javad
HamidReza Fekri
licensed
Can I unregister ManytoMany relationship from admin menu?
Sherlock
i don't know exactly how to create relationship in model like onetoOne, manyToOne, any particular resources u may suggest🙏
Anonymous
i don't know exactly how to create relationship in model like onetoOne, manyToOne, any particular resources u may suggest🙏
Read the official django docs. It's the best resource for django. Creating the relationships isn't hard, you just have to know what what each relationship mean
user
Is there one to many in models of django
Anonymous
Is there one to many in models of django
ManyToMany, ForeignKey, OneToOne
user
ManyToMany, ForeignKey, OneToOne
Yeh foreign key i know But using foreign key can i get data of users connected to another entity?? That i made Cause i m unable to do that Like Class Notification (...): User = models.Foreignkey(User,on_delete.......) Message = models.charecterfiled() user.notification.Message Cant get the data
user
I m really noob.... Ignore my noobness,😢
Anonymous
Else you use user.notfication_set
Doragonsureiyā
Read the rules before any activity: @PythonRules
VISHNU
Is it possible to make drop down with the data from db in import excel ?
yusof
Hey guys i have a bug in my package but idk how to fix it I meam every time i change the code should i install it with pip?
Charly
I use it for my search field in admin panel
And this package code is on your Django project?
yusof
Yes
Charly
Yes
Then why do you said that you need to do a pip install?
yusof
Bc every time i change the package i should install it on my project and check it
yusof
Its a bug on package
Elmir
Hello guys, have a any way update object dont use UpdateView and Modelform?
Elmir
With function not with Class
Anonymous
Is there anyone who has good knowledge with Data structures and interview uestions? DM mw
Doragonsureiyā
Is there anyone who has good knowledge with Data structures and interview uestions? DM mw
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Anand
can anyone help me how to get a user/admin online status in drf and send that response to angular
Sky
Hello friends I have a problem with the contact form When the user enters the information and after sending the information to the database, he sends a button If the form is blank, but if the page is refreshed, it sends the same information to the database How can I solve it? Thank you for your help
игорь/igor
can anyone help me how to get a user/admin online status in drf and send that response to angular
It is either polling the status endpoint or use websockets. I am not sure how to implement that in angular, have no experience.
игорь/igor
Hello friends I have a problem with the contact form When the user enters the information and after sending the information to the database, he sends a button If the form is blank, but if the page is refreshed, it sends the same information to the database How can I solve it? Thank you for your help
Form tag in html should have method='POST' attribute and your view should have something like if request.method =='POST' : where you should actually save info to db. This is super basic stuff. Watch some videos or read articles.
ravi
Hello everyone I want to make customise user model for sms-otp verification What I want do..
ravi
Could please ..
ravi
I am using abstract base user and abstract user
ravi
I want authentication with phone number otp besed
Hilariyus
Anyone knows abt rest framework
5P34R
Anyone knows abt rest framework
about what's your question
Hilariyus
about what's your question
I'm just learning django and i want to learn about apis
Hilariyus
How to authenticate a user with api to an Android app
5P34R
I'm just learning django and i want to learn about apis
refer there documentation https://www.django-rest-framework.org/ youtube videos and youtube can help u get through basics
Jitendra Kumar
How to send email otp before registration?
Hilariyus
How to send email otp before registration?
How 😬 you can send without registered Crediantials
5P34R
How to send email otp before registration?
there is a simple way add a verification field in user model and when users want to register they will fill some sort of information for furthur need in your case u need to get email of user to send email and create a model for otp by connecting user and otp value. Once u get the input from user generate otp and save it in OTP model and send mail. when the user entered the correct otp then eable the verified field in user model
5P34R
Its a simple idea there is a lot of way to do chose according your need
VISHNU
Yes
Can you send a document like that anything on this
ravi
Actually the django framework for authentication use username
ravi
But I don't want
ravi
I want authentication with phone number
Hilariyus
Anyone knows about reportlab