Alireza
Alireza Rahimi: How can I create a form view for two model ? For example, we have questions and answers model. Each question can have more den one answer. How can ist it possibl?
Xyz
Hi guys, for those that use Django with React/Vue, what strategy do you use/prefer when deploying 1. Build client, load it in a script tag and render with Django 2. Deploy Django and Client on different servers
Chiji
Write your own reset pwd view
Can I actually overwrite the python inbuilt password system?
Mirco
Can I actually overwrite the python inbuilt password system?
Yeah but u need to change form as well , 'cause if u read Django source code , that view calls a ResetPwdForm that sends the mail with some specific opts
Chiji
Yeah but u need to change form as well , 'cause if u read Django source code , that view calls a ResetPwdForm that sends the mail with some specific opts
Yes. I am using a CustomUser model for registration which derives from the AbstractUser class. Does it mean I will have to change everything?
Chiji
Any link to see how it can be achieved please?
Ghorz
Read the official doc
Mirco
Yes. I am using a CustomUser model for registration which derives from the AbstractUser class. Does it mean I will have to change everything?
Sincerely I still haven't tried to change that behavior, but you need to change that flow a little bit so think well about the strategy you wanna apply Read docs and source code as better as you can for taking a good choice
Chiji
Alright thanks
Mirco
Alright thanks
Anyway by overwriting you don't have to reinvent the wheel
Dope
Read the official doc
Please send it here or share link to get it
amit
Is storing data sent through websockets in postgresql database everytime when a message is sent induce latency ? In a scenario of real time chat where the recipient user is offline and the message in which realtime client is sending and is stored on postgresql database then ,IS throwing new message by fetching from postgreSQL db yo recipient when he is online will induce some latency(considering short time interval between the message recieved through socket and recipient coming online)? Do considering firebase real time database is a good suit here? but i have been working on unstructured database , so can it also be considered for such kind of application?
Ghorz
Please send it here or share link to get it
https://docs.djangoproject.com/en/2.1
Daniel
Hi people
Supti
hi
Hi
George
Hi
owo
Supti
owo
wow
George
wow
let's stay ontopic owo
Supti
let's stay ontopic owo
Ondo state of Nigeria! Never mind!
Ghorz
wtf X)
Please don't judge by the name people are different.
Vladyslav 🇺🇦🇪🇺
folks how i may get information about client like - pc mac address/router mac address ?
Vladyslav 🇺🇦🇪🇺
when client comming on site
Chiji
https://docs.djangoproject.com/en/2.1
Thanks. Saw something like set_password and PasswordChangeForm. I believe I can draw an idea from there. The challenge is it requires authentication access first before I can use them
Chiji
Thinking of how to use it from a non authenticated users angle
Daniel
Hi people, I can here to ask something about django and help me to solve my problem? ...
Daniel
I have a API django and in postman I send a json on post method, I don't know receive it into my method ...
Daniel
@transaction.atomic def post(self, request, *args, **kwargs): pdb.set_trace() return JsonResponse({'code': 200, 'msg': request.POST })
Daniel
https://pastebin.com/UXbg6n0U
Daniel
I made myself understand?
Ghorz
Thinking of how to use it from a non authenticated users angle
Why should an unauthenticated user change password!
Daniel
hi pepple I got !!
Lapanit ☃️
whats pepple?
Chiji
Why should an unauthenticated user change password!
What I mean is, for users that can't even login, not those that have logged in but trying to change their.password
Shaun
Sends a reset password email to the email address on the account. Password is only updated after user clicks link, and successfully changes password.
Anonymous
🤔 it's called password reset there are great videos on youtube on that
theFlash
I want to start python Django full stack development
theFlash
Can anyone suggest me how to start
theFlash
Iam good in c language and can solve average level problems in hackerrank and other online platforms
Anonymous
I am consuming Vue like its nutrision these days.
I was learning vue and I didn't feel comfortable at all
Anonymous
It all felt like a hack
Lapanit ☃️
weird, you are an admin in here
Anonymous
weird, you are an admin in here
I share the same feelings
Anonymous
Lapanit ☃️
hmmm i dont know if thats ok
Lapanit ☃️
(group promotions)
Anonymous
any tutorials for database handling in django?
Anonymous
some videos would do
orion
Hello, everyone.I have a problem about log function.
Anonymous
what's the issue?
orion
I turned off the Debug option, and then can not log anything into the file .
orion
why?
Anonymous
if DEBUG is True you are deleting the logger and handler...
orion
and then?
Anonymous
can you show your wsgi.py ?
orion
I just write the LOGING config into Setting.py
orion
Omg, I almost didn't know what's that file doing. I just have a file uwsgi.ini.
Anonymous
check this https://stackoverflow.com/questions/51376316/django-logging-does-not-write-debug-log-file-issue#comment89757224_51377763
orion
this one
Anonymous
maybe some issue with contradicory names in settings.py
Anonymous
check the above link
orion
I still don't know how to do, I had check the link
orion
this guy said what?
orion
😭I need help
orion
I'm so worry
orion
I had check my settings.py
orion
It don't have any contardictory/
Anonymous
i don't know the concept of logging. sory
orion
I swich the Debug==True, it works well.
orion
why?