Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
23 views

How can I have a different method instead of user.is_authenticated? [duplicate]

I have an academy website , which has 3 different kinds of users. The first one is the staff that I handle with the admin panel. The second one is parents or people who are going to get some ...
amirali mirzaei zadeh's user avatar
0 votes
0 answers
16 views

Delay problem in python/mysql integration

I'm making a python interface that has a user registration and login part using Mysql. I made a class to register and another to perform the login which worked normally, then I tried to apply ...
Natham's user avatar
  • 1
1 vote
2 answers
29 views

Operating on photo retrieved from php page using python

I want to make pseudo-verification api in python that works with images(ID of a worker). It is supposed to be based on certain patterns in image like(circles squares etc. like in snapchat famous ...
user25947831's user avatar
0 votes
1 answer
24 views

Flask web app redirects to login page instead of dashboard after successful authentication to an external website

I am making a Flask web application that clones a login page of a website and sending post request to authenticate to the original website. The request is made using session so to be able to preserve ...
Mihai's user avatar
  • 41
1 vote
0 answers
16 views

Authenticating user on React frontend, against Django backend user groups using JWT

Having issues authenticating a user from React frontend, to Django backend using JWT Tokens. I have a Django instance with check_auth view in views.py: @csrf_exempt @login_required def check_auth(...
George's user avatar
  • 35
1 vote
0 answers
35 views

I cant execute code because of SSH Authentication error

I am working on a code that: Executes client command during TCP Server. Server code: import socket import paramiko import threading # SSH sunucu bilgileri SSH_HOST = ("localhost") SSH_PORT =...
Muhammed Salih Arpacı's user avatar
0 votes
0 answers
45 views

Can't get file because logged in is not kept

I'm encountering the same situation which is described in this page How to requests.Session().get if website does not keep me logged in? with another website: Trying to download an executable on this ...
Kaoru54's user avatar
  • 11
1 vote
1 answer
24 views

Getting The resource could not be found when fetching content from sharepoint using graph api

this is the code: import streamlit as st import requests import urllib client_id = 'YOUR_CLIENT_ID' client_secret = 'YOUR_CLIENT_SECRET' tenant_id = 'YOUR_TENANT_ID' site_id = "m365x36241825....
Swasti Ranjan's user avatar
0 votes
0 answers
39 views

Celery Task Fails with "MongoDB Authentication Failed" Despite Successful Standalone Connection

I'm using Celery with MongoDB as the result backend, but I'm encountering an authentication issue when running Celery tasks. The error message I'm seeing is: pymongo.errors.OperationFailure: ...
Mahdi Salehi's user avatar
0 votes
1 answer
89 views

How to Implement a Guest Login in Django REST Framework

I currently have a backend setup where users can register by providing an email, name, and password. These fields are required for registration. I want to implement a guest login feature where a guest ...
coder's user avatar
  • 517
0 votes
0 answers
26 views

Login in google page with requests or Oauthlib

Good day, I have a task to fill out and submit data on this site: Click Quality Form using Python code, and I encountered the following issues: I cannot find which Google API corresponds to this site (...
Refusion's user avatar
0 votes
0 answers
43 views

Automatically updated created_by/updated_by with Django authenticated user

I have a BaseModel that looks like this: class BaseModel(models.Model): updated_by = models.ForeignKey(get_user_model(), related_name='+', on_delete=models.RESTRICT, db_column='updated_by') ...
Peter Kronenberg's user avatar
0 votes
0 answers
22 views

Sportsbook Middleware for Syncing User Data

Dylan here, I've been working on a startup for the past year now, AI sports predictions with real AI (not chatGPT or simple Linear Regression models) and As I am nearing launch I am needing a solution ...
King Of Missionary's user avatar
0 votes
0 answers
32 views

Session Persistence Issue Between Two Django Projects Using Both JWT and Session Authentication

Background Project A Legacy system Django full-stack server based on a template language Using sessions for authentication Python version 3.8 Django version 3.2 Project B New project JSON-based Django ...
genie's user avatar
  • 1
1 vote
0 answers
63 views

Authorization in telegram bot by code fails

I am writing a telegram bot with telethon which gets access to several chats in the account and parses messages from it into the database. When I try to use this bot I try to login, Telegram sends me ...
Fiodar Pazhyvilka's user avatar

15 30 50 per page
1
2 3 4 5
259