https://www.youtube.com/watch?v=2kKwPk5qPUs=1285s
this will help in reseting your password using rest framework
On Wednesday, 2 December 2020 at 23:15:37 UTC+5:30 yashwanth balanagu wrote:
> Hey guys,
>
> Anyone know how to do reset password or forgot password in django rest
&g
run in terminal: python manage.py changepassword user_name
On Wednesday, December 2, 2020 at 11:15:37 PM UTC+5:30 yashwanth balanagu
wrote:
> Hey guys,
>
> Anyone know how to do reset password or forgot password in django rest
> framework
>
> Mainly resources are very
gt; Steve Wehba
> The Mobile App Brewery
> steve...@mobileappbrewery.com
> 760-846-1082 <(760)%20846-1082>
> On Dec 4, 2020, 11:24 AM -0800, Wilson Cazarré , wrote:
>
> The current behavior of the DRF is given the message "Invalid
> username/password" upon bad auth
ior of the DRF is given the message "Invalid
> username/password" upon bad authentication credentials to the API.
>
> Any thoughts on how to make the error message more explicit by specifying if
> was a bad username or password?
> --
> You received this message because y
The current behavior of the DRF is given the message "Invalid
username/password" upon bad authentication credentials to the API.
Any thoughts on how to make the error message more explicit by specifying
if was a bad username or password?
--
You received this message because you are
Hey guys,
Anyone know how to do reset password or forgot password in django rest
framework
Mainly resources are very less. so if anyone know please let me know
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubs
Hello I want to get unhashed password while fetching result from dataabse
please anyone can help me
class SingleIST1(APIView):
authentication_classes = [TokenAuthentication]
# permission_classes = [IsAuthenticated]
def get(selfs, request, cnic_no, format=None):
# content = {'message': 202
Hi,
You can use django-rest-auth
https://dj-rest-auth.readthedocs.io/en/latest/api_endpoints.html
Le dim. 25 oct. 2020 à 04:16, Ashutosh Mishra
a écrit :
> I have some fields related to user,i need to send validation link to user
> email ,link opens a web page to enter password
I have some fields related to user,i need to send validation link to user
email ,link opens a web page to enter password twice for comlete
registration.Later user can log in through this password.Anyone?
--
You received this message because you are subscribed to the Google Groups
"Django
May I know when you need to reset password and y ?
On Sun, 20 Sep, 2020, 3:00 pm Ashutosh Mishra,
wrote:
> unable to get what are you saying.
>
>
> On Sunday, September 20, 2020 at 2:11:51 PM UTC+5:30 beignet...@gmail.com
> wrote:
>
>> you can simply use dj-rest-auth
>
rification.But unable to
>> figure out how to reset password of the user whose password field is in
>> some other model.
>>
>> Hers is my question on stackoverflow
>>
>> *https://stackoverflow.com/questions/63975517/how-to-change-password-in-after-otp-verific
you can simply use dj-rest-auth
Le dim. 20 sept. 2020 à 05:40, Ashutosh Mishra
a écrit :
> I have create an api's for sending otp and otp verification.But unable to
> figure out how to reset password of the user whose password field is in
> some other model.
>
> Hers
I have create an api's for sending otp and otp verification.But unable to
figure out how to reset password of the user whose password field is in
some other model.
Hers is my question on stackoverflow
*https://stackoverflow.com/questions/63975517/how-to-change-password-in-after-otp
. Login, Logout, Password Reset,
Register) for which the server responds with HTML and the rest return JSON.
I would like to use different subdomain for these views i.e. different
subdomain for HTML views and different subdomain for the JSON views.
I'm a Django newbie and would really appreciate
Hi Jani, thanks for answering and for all tips as well.
I'm aware that any proposed (supposed) option (saving plain text password
into session or or in JWT) is good.
But how could you suggest connecting to this remote service API wich uses
only Basic Authentication?
Which options
Hi.
Note that JWT is not encryption but cryptography signing. So password would
be in clear plaintext in JWT payload. Also storing password in session
might not be a good thing depending where your sessions are stored since
again, password would be plain text there as well.
If you really need
h requests using BasicAuthentication,
meaning I'll have to pass to this other API the users's plain text password.
Using only Django I could store user's password into a session variable and
retrieve it later on any other view.
How could I solve this situation without sessions?
Has anyone ever e
http://www.django-rest-framework.org/api-guide/validators/#writing-custom-validators
You need to write a custom validator
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from
please help to solve this problem
https://stackoverflow.com/questions/50367739/rest-framework-3-7-with-django-2-0-post-method-does-not-working-in-api-document?noredirect=1#comment87755771_50367739
On Thursday, May 18, 2017 at 5:21:12 PM UTC+5:30, Александр Иванчик wrote:
>
> I used to The
I used to The autoogrnerated API docs(From the core of Django Rest framework).
For generation I use generics, viewsets, mixins.
Simple example:
users/ - Displayed in documentation
users/{id} - Displayed in documentation
users/personal-profile - Not displayed in documentation
class
Thank you veryvery
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-rest-framework+unsubscr...@googlegroups.com.
For more options, visit
Hi,
> Le 15 mars 2017 à 08:06, CocaCola <solsol9...@gmail.com> a écrit :
>
> Even if there is no security problem..
> The hashed password is meaningless value.
> Why is it showing a hashed password?
This is the expected behavior.
For one thing, it’s a security issue to
## Steps to reproduce
When sign-up is completed,
I don’t want to show hashed password to user
# views.py
class UserSignup(generics.CreateAPIView):
serializer_class = CustomUserSerializer
def create(self, request, *args, **kwargs):
serializer = self.get_serializer(data
= Session()
client.auth = HTTPBasicAuth('x', '123!')
client.post(url)
#this on the other hand fails and says Invalid username/password
client = RequestsClient()
client.auth = HTTPBasicAuth('x', '123!')
client.post(url)
Is there anyone having this same issue? please help.
--
You
Thanks! I was stuck at this step...
On Tuesday, June 21, 2016 at 10:01:34 PM UTC+1, Lewis wrote:
>
> Problem solved! I figured out my problem by watching this tutorial:
>
> https://godjango.com/43-permissions-authentication-django-rest-framework-part-2/
>
> I accidentally defined my
here is my code
class LoginSerializer(serializers.Serializer):
password = serializers.CharField(required=False, style={'input_type':
'password'})
default_error_messages = {
'inactive_account': constants.INACTIVE_ACCOUNT_ERROR,
'invalid_credentials
26 matches
Mail list logo