Of course
Hello. İ send a password reset request and in book says that you now see output email text in command line console but İ can't find that text. Or İ don't find command line consoles???
H.G.
Of course
Anonymous
Hi how to pass the token in header using django in python
Anonymous
Implementation for rest api
Of course
H.G.
Denis
r u testing your login view ?
kind of
i have button *Log in with facebook* and its working
but some people in my team has no access to facebook and we want to bypass auth on dev environment
Mirco
Denis
Mirco
!search
Doragonsureiyā
These single steps will help you a lot:
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
Denis
Denis
I wanna log in by pressing button
Mirco
I wanna log in by pressing button
and you will do the same, but without starting the allauth process
for dev env u can simple use the default django auth backend with username and pwd
Denis
Mirco
Denis
auth backend is enough
its allauth.account.auth_backends.AuthenticationBackend now
may I ask what should I use instead?
Denis
it has no alternative methods https://github.com/pennersr/django-allauth/blob/master/allauth/account/auth_backends.py
Denis
I set up django.contrib.auth.backends.AllowAllUsersRemoteUserBackend
nothing changed
Mirco
Denis
AUTHENTICATION_BACKENDS = [
"django.contrib.auth.backends.ModelBackend",
]
Mirco
Mirco
Denis
Anonymous
Yes Denis bro share your screen to micro
Anonymous
Mirco bro
Mirco
Anonymous
Sharing screen can make easy with good meet.
Anonymous
Sharing code can be mistake on line but screen help easily in minimum time.
Anonymous
Google Mee t
Anonymous
Is best
Dark Angel
use online platform like replit to share whole project
Denis
can you help me to modify that?
https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/providers/facebook/tests.py
Mirco
Anonymous
Yes do what make u easy.
Mirco
Denis
Denis
Denis
i want to copy-paste it
Denis
Mirco
yep. i need that
If you don't share some code of your view you wanna test, it's hard to help u
Adam
Hello, everyone. I need to know how to retrieve data sent by a third party site to my server.
Details:
1) I have a link to a qr code on my website.
2) User clicks on this link, he is first directed to a third party site that collects some data, and then is redirected to my site, registration page (all this happens in 1-2 seconds)
Is there any way to find out the link from which the user was redirected and the information this site sends to my server?
Leon
Hi, I have an assignment to create an online learningplatform. I have teacher and user as the users of the system. How can I best implement this scenario in the models?
Hell
I wanted to clarify, maybe someone came across a situation: I implemented django full-text search through postgresql fulltext. full-text works fine, but I wanted to do a fuzzy search - I found information in postg itself that you can split the text into problems and add & to the total value, which will result in a fuzzy search.
but for some reason I get error error: syntax error in tsquery: "ab:+
http://linkode.org/#KzBBL8YXG1TU7Rx4wNK3M4 - link code
Shubham
Hiii i want help to create sub domain in my project. Example.com I have a domain but i want username.example.com how to create dynamic for particular user
Deepu
: I have 5 data in my django database with same name but different time
Like
box1. Time =12.06
box1. Time =12.07
box1. Time =12.08
box1. Time =12.09
box1. Time =12.10
So my question is that how can i get first box and last box
box1. Time =12.06
And
box1. Time =12.10
Only
Mirco
Deepu
But their is many box line box2 box3
Deepu
And i wanna do all bax first and last value show only
Mirco
Michael
categories = Category.objects.all()[0:3]
Please what is the meaning of this, i saw it in a blog post and used it in my code (views.py)
What exactly does it do?
Michael
categories = Category.objects.all()[0:3]
Mirco
Michael
Can you explain in simpler terms?
Mirco
Can you explain in simpler terms?
Instead of returning all data, that code is limiting the query
In SQL is LIMIT keyword
So you have to know what limit in SQL is and what is slicing in python
Michael
oh
Michael
i don't know much about that, i'm new with django
Michael
Mirco
In simple terms, that query returns the first 3 categories from database
Mirco
Neo
Sorry wrong group i thought this was django
Michael
Michael
Put that "query" into google please
Excuse me.. not every one is nerd like you, i prefer when people explain the code to me in simpler and understandable terms, so if you don;t want to help, please stay out
Thank You
Neo
Neo
Or if you insist on not following the rules and you wish to debate this in public, i could just ban you and we're cool here
Mirco
Mirco