Tamerlan
set withCredentials: true in your request
Yes i search in stack they also wrote this answer thanks
Doragonsureiyā
wait i will try
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)
F
for biometric, there must be some physical vendor you are using? are they not providing documentation?
They are not providing me. The documentation and neither the sdk so I would like to know how it is implemented is a digital device person 45000
D.D
For Facebook login how we can define that email id should also come after successful login of use Scope= ['Email'] is not working properly as there has been some changes in Facebook api
D.D
just don't use email as primary ID
In user table u r asking? Email. Is not primary id in my case
Adarsh
Hey 👋, how can I setup or configure python3.9 path in Apache httpd for CentOS 8 stream
Mohd Hanafee
Hi anybody know how to allow permission denied in nginx in order to access static folder?
Doragonsureiyā
Hi anybody know how to allow permission denied in nginx in order to access static folder?
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.
Mohd Hanafee
Actually I'm developing django with nginx
Mohd Hanafee
Huhu
Charly
Actually I'm developing django with nginx
Yes but the issue is not django but nginx config
Dambek
Hi, how I can update a db at certain time, which I input
moonkin
Hi, how I can update a db at certain time, which I input
Your questions isn't clear, what exactly are you trying to do?
Dambek
Your questions isn't clear, what exactly are you trying to do?
I'm input, that in 2pm be will be update bd but it's time can be change
Dambek
I'm input, that in 2pm be will be update bd but it's time can be change
I'm doing a timer and at the end bd must be update
Charly
I'm doing a timer and at the end bd must be update
celery beat, search for it (or just crondjobs)
㊝┇ᴋᴀᴋᴀʀᴏᴛᴏㅤ☁︎
How to create custom survey forms any idea?
nyctophile
Hello guys! I was using UserCreationForm to create register page but somehow I am getting empyt query dict from Post method. I did some research on it yet coul not figure it out. So I really need some help!
Saman
If pagination is implemented on the back-end, is it possible to implement filtering on the front-end?
Saman
Filtering can be done backend too
i know but it can be done on front? if pagination is on the backend i'm not sure it's possible to do the filtering on front
Mirco
i know but it can be done on front? if pagination is on the backend i'm not sure it's possible to do the filtering on front
It's better to be done backend side Btw I think you can without any problem , obviously it depends on filtering
Shailender
https://codeshare.io/6p0PBm
Shailender
someone help me
Shailender
trying to make the user login with mobile number and password does anyone has anyidea?
Anonymous
why do I get an error on sign-in and homepage while not in sign-up page?
Anonymous
oops
Anonymous
https://clever-sutherland-agrwzvg24.iran.liara.run/sign-in
Д.....
Hi. I wanna connect my django project to MongoDB. Should I use Djongo, PyMongo or MongoEngine? What's the best choice?
Eternity
Hi. I wanna connect my django project to MongoDB. Should I use Djongo, PyMongo or MongoEngine? What's the best choice?
https://www.digitalocean.com/community/tutorials/how-to-connect-a-django-app-to-mongodb-with-pymongo
Eternity
PyMongo is nice choice
Charly
Hi. I wanna connect my django project to MongoDB. Should I use Djongo, PyMongo or MongoEngine? What's the best choice?
Actually using mongo with django is a bad idea. As django is a pure relational model framework. And mongo is not officialy supported.
Eternity
Hi. I wanna connect my django project to MongoDB. Should I use Djongo, PyMongo or MongoEngine? What's the best choice?
Yes, I agree with @Carlangueitor. If you want, you can use Mongo, but it's way better to use MySQL, PostgreSQL, SQL and other relational databases
Doragonsureiyā
Hi. I wanna connect my django project to MongoDB. Should I use Djongo, PyMongo or MongoEngine? What's the best choice?
Do you want to use Django with MongoDB? Then you shouldn't Please read this article: https://daniel.feldroy.com/when-to-use-mongodb-with-django.html
F
Someone could guide me on how I can integrate fingerprint registration in Django with a digital reader persona 4500 please ?
Loki
Someone could guide me on how I can integrate fingerprint registration in Django with a digital reader persona 4500 please ?
Django is kinda backend side, fp reader is client side, check for some JS I suppose
Suryo Adhy Chandra
Someone could guide me on how I can integrate fingerprint registration in Django with a digital reader persona 4500 please ?
maybe you can create django api base point in saving image of fingerprint. and access the api from client side using javascript.
Jimmies San
Maybe you could try doing it as a PoC in an open GitHub repo and get help where you really need it. After trying of course.
Conquerer
Creat a todo list Requirements # Customer want to creat a task and also he have to deadline. After creating the task it should be shown at the side. # there should be a checkbox near task so they can click on when they complete the task. # if the deadline exceeded they have to show an indicator
Conquerer
Any one can help?
Doragonsureiyā
Creat a todo list Requirements # Customer want to creat a task and also he have to deadline. After creating the task it should be shown at the side. # there should be a checkbox near task so they can click on when they complete the task. # if the deadline exceeded they have to show an indicator
We're not here to do your job for you. This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻‍♂️
Charly
Can anyone help me with that??
We'll need to see your code
Eternity
Can anyone help me with that??
Send your code and we'll help you
nyctophile
We'll need to see your code
it is views.py def register(request): print('\n\n\n\n',request.POST,'\n\n\n') if request.method == 'POST': form=UserCreationForm(request.POST) if form.is_valid(): form.save() return redirect('home/') else: form=UserCreationForm() context={'form':form} return render(request,'base/register.html',context) and it is my template: {% extends 'base/base.html' %} {% block content %} <form method="post", action="{{ register }}"> {% csrf_token %} {{form}} <button type="submit", name="register", value="register", class="btn btn-success" >Register</button> </form> {% endblock %}
Charly
Action must be the url
nyctophile
Try action="POST" instead {{register}}
Did not work😐😐, is the way which I used true?
nyctophile
Action must be the url
I will try that
nyctophile
Action must be the url
Bro It did not work too??
Charly
Bro It did not work too??
What exactly you did?
Molham Jumaa
Try url 'register'
Charly
Try url 'register'
you don't know if thats the url because we haven't seen the urls file
nyctophile
What exactly you did?
I changed action to register| register/ {{register}} {%register%} and other things
nyctophile
nyctophile
So you ignored my advice?
you said action must be url and I did POST to url
Charly
you said action must be url and I did POST to url
Show the code where you put the url because you just told me that you did different things
Eternity
that is my all urls
Just don't write action at all. Try to use only method="post"
Charly
that is my all urls
So again, where is the change that i proposed?
Charly
it is in register.html
yeah but I dont see what exactly you did
nyctophile
yeah but I dont see what exactly you did
just a sec I tought you need to urls.py
nyctophile
yeah but I dont see what exactly you did
https://linkode.org/#bZTQ9almdjUVXQlh6q8xk3
Charly
https://linkode.org/#bZTQ9almdjUVXQlh6q8xk3
And still the change I proposed is not there