Re: Increasing iteration count for the PBKDF2 password hasher

2024-05-23 Thread Mike Dewhirst
On 23/05/2024 6:12 pm, Shaheed Haque wrote: Hi, As happens from time-to-time, I see the 5.1 alpha recently announced has increased the iteration count for the PBKDF2 password hasher (from 720k to 870k), and the putative release notes for 5.2 mention a further increase (to 1M). I assume

Increasing iteration count for the PBKDF2 password hasher

2024-05-23 Thread Shaheed Haque
Hi, As happens from time-to-time, I see the 5.1 alpha recently announced has increased the iteration count for the PBKDF2 password hasher (from 720k to 870k), and the putative release notes for 5.2 mention a further increase (to 1M). I assume this iteration count has something to do

RESET PASSWORD ERROR IN DJNAGO

2024-02-08 Thread Benjamini Athanas
Hellow , guys how to fix this problem NoReverseMatch at /auth/reset/OTM/set-password/Reverse for 'password_reset_complete' not found. 'password_reset_complete' is not a valid view function or pattern name. -- You received this message because you are subscribed to the Google Groups "D

Re: login with token instead of password

2024-01-16 Thread 'Kasper Laudrup' via Django users
Isn't this pincode_auth_app just the same as the standard Django password authentication, only the password is stored in plain text and limited to four characters? Maybe I'm missing something? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google

Re: login with token instead of password

2024-01-16 Thread Ahmed Iftikhar
site.urls), path( '', include('pincode_auth_app.urls')), ] On Tue, Jan 16, 2024 at 8:02 PM ABDUL HAFEEZ wrote: > example: > I have a model with fields username and password > when users create account there credentials saved in db next I want that > *instead > of login with password I wan

Re: login with token instead of password

2024-01-16 Thread IKT Service
Maybe try to send a token to user email, when used get that email with a activation link, he can just click and activate the account tir. 16. jan. 2024 kl. 16:02 skrev ABDUL HAFEEZ : > example: > I have a model with fields username and password > when users create account there cr

login with token instead of password

2024-01-16 Thread ABDUL HAFEEZ
example: I have a model with fields username and password when users create account there credentials saved in db next I want that *instead of login with password I want create token *so he can login with token not password what should I do please provide me logic steps if someone have done

Re: Recover admin username and password

2023-08-03 Thread Maghav Ahuja
You can create another superuser from cmd. Use the command: django-admin createsuperuser name_of_the_user After creating, login from the new user and reset the passwords On Thursday, August 3, 2023 at 7:56:23 PM UTC+12 Safaet Jaman wrote: > I've delete my user admin. I've another two user but i

Re: Recover admin username and password

2023-08-03 Thread Safaet Jaman
Thank you! it worked On Thursday, August 3, 2023 at 2:21:52 PM UTC+6 wongX Ndeso wrote: > Just login to your server, activate the environment and run > createsuperuser to create new superuser account > > On Thu, Aug 3, 2023, 14:56 Safaet Jaman wrote: > >> I've delete my user admin. I've

Re: Recover admin username and password

2023-08-03 Thread wongX Ndeso
Just login to your server, activate the environment and run createsuperuser to create new superuser account On Thu, Aug 3, 2023, 14:56 Safaet Jaman wrote: > I've delete my user admin. I've another two user but i can't login django > admin pannel to use these. [image: Screenshot from 2023-08-03

Recover admin username and password

2023-08-03 Thread Safaet Jaman
I've delete my user admin. I've another two user but i can't login django admin pannel to use these. [image: Screenshot from 2023-08-03 13-55-22.png] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: I am unable to hash my password.

2023-02-15 Thread Eshwar pandu
> >>> Hi Saksham, please let us see your user model.py and views.py. >>> >>> On Wed, Nov 2, 2022 at 2:52 PM Saksham Khanal >>> wrote: >>> >>>> when I try to new register new user form the API,the saved user doesn't >>>> have it'

Re: Custom user model password is not hashed

2023-01-26 Thread Namanya Daniel
;>> I'm also getting the same error in one of my project, can't figure out how >>> to solve it. >>> >>> On Friday, November 13, 2015 at 6:11:09 PM UTC+5:30 >>> benjamin...@gmail.com wrote: >>> >>>> The problem was, whe

Re: Custom user model password is not hashed

2023-01-26 Thread James
ine a custom > model form and model admin that handles the password properly. After that > it was solved. > > Thank you. > > On Thu, Nov 12, 2015 at 9:25 PM, Andreas Kuhne > wrote: > >> Try to debug and check what your password value is after the >> set_passw

Re: Custom user model password is not hashed

2023-01-25 Thread Roger Mukai
1:09 PM UTC+5:30 benjamin...@gmail.com >> wrote: >> >>> The problem was, when creating a custom user, one has to define a custom >>> model form and model admin that handles the password properly. After that >>> it was solved. >>> >>> Thank you. >

Re: Custom user model password is not hashed

2022-12-06 Thread Sage
re out how to > solve it. > > On Friday, November 13, 2015 at 6:11:09 PM UTC+5:30 benjamin...@gmail.com > wrote: > >> The problem was, when creating a custom user, one has to define a custom >> model form and model admin that handles the password properly. After that

Re: I am unable to hash my password.

2022-11-03 Thread ritik sahoo
;> On Wed, Nov 2, 2022 at 2:52 PM Saksham Khanal >> wrote: >> >>> when I try to new register new user form the API,the saved user doesn't >>> have it's password hashed which is creating a problem while logging in.You >>> can see the difference between admi

Re: I am unable to hash my password.

2022-11-03 Thread Saksham Khanal
he saved user doesn't >> have it's password hashed which is creating a problem while logging in.You >> can see the difference between admin and new_user.To create a user model I >> have inherited a Abstract user class.You can also check my register >> serializer >>

Re: Custom user model password is not hashed

2022-05-07 Thread Tejas Agrawal
one has to define a custom > model form and model admin that handles the password properly. After that > it was solved. > > Thank you. > > On Thu, Nov 12, 2015 at 9:25 PM, Andreas Kuhne > wrote: > >> Try to debug and check what your password value is after the >&g

Re: How to turn off SMTP login during forgot password in django-auth module

2022-03-23 Thread Sujit Pal
to settings.py allowed the mail to be delivered without getting caught in any filter. -sujit On Tuesday, March 22, 2022 at 4:34:50 PM UTC-7 Sujit Pal wrote: > I implemented registration / login / forgot password functionality in my > application following the steps described here - &

How to turn off SMTP login during forgot password in django-auth module

2022-03-22 Thread Sujit Pal
I implemented registration / login / forgot password functionality in my application following the steps described here -https://simpleisbetterthancomplex.com/tutorial/2016/09/19/how-to-create-password-reset-view.html I have it working with a google email and password sending on smtp.gmail.com

Re: /accounts/password/reset/ Exception Value: No module named 'django.shop'

2021-08-22 Thread Kasper Laudrup
https://www.propublica.org/nerds/how-to-ask-programming-questions -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

/accounts/password/reset/ Exception Value: No module named 'django.shop'

2021-08-22 Thread vijay chourey
Environment: Request Method: POST Request URL: http://127.0.0.1:8000/accounts/password/reset/ Django Version: 3.1.1 Python Version: 3.6.6 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages

Re: TypeError: Password must be a string or bytes, got BoundField

2021-06-04 Thread DJANGO DEVELOPER
have you converted your password into hashed? if not then do it by using set_password. On Fri, Jun 4, 2021 at 10:29 PM Kasper Laudrup wrote: > > https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd > > -- > You received this message because you

Re: TypeError: Password must be a string or bytes, got BoundField

2021-06-04 Thread Kasper Laudrup
https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

TypeError: Password must be a string or bytes, got BoundField

2021-06-04 Thread pikasu pikasu
OST['phone'], Pwd = request.POST['password1'], gender = request.POST['gender'], img = request.FILES['images'], userss = User.objects.create_user(first_name=fname,last_name=lname,username= email,password=Pwd) recruiterLogin.objects.create(user=userss,mobile=phone,gender=gender,image= img,type=

Re: Authentication using Email or Password

2021-05-05 Thread sanosh jacob
(BaseUserManager):def create_superuser(self, email, user_name, first_name, password, **other_fields):other_fields.setdefault('is_staff', True)other_fields.setdefault('is_superuser', True)other_fields.setdefault('is_active', True)if other_fields.get('is_staff') is not True

Authentication using Email or Password

2021-05-05 Thread 'Muhammad Asim Khaskheli' via Django users
, email, user_name, first_name, password, **other_fields): other_fields.setdefault('is_staff', True) other_fields.setdefault('is_superuser', True) other_fields.setdefault('is_active', True) if other_fields.get('is_staff') is not True: raise ValueError( 'Superuser must be assigned to is_staff=True

Re: Bind device with login id and password

2021-03-05 Thread Benjamin Schollnick
> On Mar 5, 2021, at 12:52 AM, Sachin Kumar wrote: > > Hi Experts, > > Is there any way or logic in Django where we can bind user login id and > password with first device login id. > for example:- > If a user first time login into a PC A, he can't login into PC B us

Re: Bind device with login id and password

2021-03-05 Thread Kasper Laudrup
On 05/03/2021 10.07, Sachin Kumar wrote: HI Mike, Thanks a lot for the reply I can capture the hostname of the localhost i also want to capture mac address of the local host. is there any way we can capture the Mac Address of the client? In general no. If the client is on the same network

Re: Bind device with login id and password

2021-03-05 Thread Sachin Kumar
hin Kumar wrote: > > Hi Experts, > > > > Is there any way or logic in Django where we can bind user login id > > and password with first device login id. > > for example:- > > If a user first time login into a PC A, he can't login into PC B using >

Re: Bind device with login id and password

2021-03-04 Thread Mike Dewhirst
On 5/03/2021 4:52 pm, Sachin Kumar wrote: Hi Experts, Is there any way or logic in Django where we can bind user login id and password with first device login id. for example:- If a user first time login into a PC A, he can't login into PC B using same login id. He can only login into PC

Bind device with login id and password

2021-03-04 Thread Sachin Kumar
Hi Experts, Is there any way or logic in Django where we can bind user login id and password with first device login id. for example:- If a user first time login into a PC A, he can't login into PC B using same login id. He can only login into PC A with his login id. if he changes the PC

Advice on self service password reset?

2021-02-26 Thread Tal Bar-Or
Hello , I would like to write self service password service for our organization , the identity source is our active directory. To accomplish this task i choose to use ldap3 library , reset password procedure would be simple template with enter your mail , backend will look for email user

Re: How to add css class and attribute to username,password

2021-02-14 Thread Tal Bar-Or
ginView(LoginView): >>> template_name = 'login.html' success_url = 'blog-home' >>> success_message = 'Welcome to your profile' >>> form_class = UserLoginForm >>> >>> forms.py >>> from django import forms from django.forms import

Re: How to add css class and attribute to username,password

2021-02-14 Thread Omkar Parab
forms import ModelForm >> from .models import User class UserLoginForm(forms.ModelForm): >> username = forms.CharField(widget=forms.TextInput(attrs={'class': >> 'form-control', 'type':'email', 'name':'Username', >> 'placeholder':'Username'})) >> passwo

Re: How to add css class and attribute to username,password

2021-02-14 Thread Omkar Parab
gt; from .models import User class UserLoginForm(forms.ModelForm): > username = forms.CharField(widget=forms.TextInput(attrs={'class': > 'form-control', 'type':'email', 'name':'Username', 'placeholder':'Username'})) > password = forms.CharField(widget=forms.Passwor

Re: How to add css class and attribute to username,password

2021-02-14 Thread Abubakar Ibrahim Baiwa
'Welcome to your profile' >> form_class = UserLoginForm >> >> forms.py >> from django import forms from django.forms import ModelForm >> from .models import User class UserLoginForm(forms.ModelForm): >> username = forms.CharField(widget=forms.TextInput(att

Re: How to add css class and attribute to username,password

2021-02-14 Thread Sherif Adigun
forms.py > from django import forms from django.forms import ModelForm > from .models import User class UserLoginForm(forms.ModelForm): > username = forms.CharField(widget=forms.TextInput(attrs={'class': > 'form-control', 'type':'email', 'name':'Username', > 'placeholder'

How to add css class and attribute to username,password

2021-02-07 Thread Tal Bar-Or
'})) password = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'form-control', 'type': 'password', 'name': 'password', 'placeholder':'Password'})) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

django admin site password changed every time user's attributes are changed

2021-01-10 Thread Vishesh Mangla
https://dpaste.org/bN7d Please see code at dpaste. I 'm trying to modify my admin site so that the admin can create new accounts there. After clicking save , to whatever email address which the admin has entered an email would bbe sent with a random password. It works perfectly but when I

Re: Password policy enforcement in django app

2020-12-02 Thread Mike Dewhirst
On 2/12/2020 8:21 pm, Moses Omoto wrote: Use allauth On Sat, 7 Nov 2020, 22:43 Kasper Laudrup, <mailto:laud...@stacktrace.dk>> wrote: On 07/11/2020 11.23, Eugene TUYIZERE wrote: > I have an application that I want to validate the password when users > a

Re: Password policy enforcement in django app

2020-12-02 Thread Moses Omoto
Use allauth On Sat, 7 Nov 2020, 22:43 Kasper Laudrup, wrote: > On 07/11/2020 11.23, Eugene TUYIZERE wrote: > > I have an application that I want to validate the password when users > > are creating new passwords. I do not want to use the build in one, I > > want the cu

Re: Problem with superuser password

2020-11-08 Thread mustapha Ibrahim
Just add the same password as the first one you set. it's not appear don't worry about it On Sun, Nov 8, 2020, 04:21 oleg sobadov wrote: > I cant to add password > > in the field the password - cant to add nothing > > $ python manage.py createsuperuser > Username (leave b

Problem with superuser password

2020-11-07 Thread oleg sobadov
I cant to add password in the field the password - cant to add nothing $ python manage.py createsuperuser Username (leave blank to use 'olegs'): oleg Email address: o...@gmail.com Password: Password (again): Error: Your passwords didn't match. Password: -- You received this message because

Re: Password policy enforcement in django app

2020-11-07 Thread Kasper Laudrup
On 07/11/2020 11.23, Eugene TUYIZERE wrote: I have an application that I want to validate the password when users are creating new passwords. I do not want to use the build in one, I want the customized one. Someone to help please? https://sixfeetup.com/blog/custom-password-validators

Password policy enforcement in django app

2020-11-07 Thread Eugene TUYIZERE
Dear Team, I have an application that I want to validate the password when users are creating new passwords. I do not want to use the build in one, I want the customized one. Someone to help please? Thank you -- *TUYIZERE Eugene* *Msc Degree in Mathematical Science* *African Institute

Re: Password see

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related tasks at fair prices. Reply or send email to divy...@pythonmate.com Best Regards, Divyesh Khamele, Pythonmate On Thu, 8 Oct 2020, 5:12 pm kkwaq...@gmail.com, wrote: > *How to se password ad

Re: Password see

2020-10-08 Thread Andréas Kühne
I hope you realize the security implecations of what you are asking? You should never store a password in a way that you can retrieve it - and django doesn't do that. It hashes the password with a salt and then stores the hash. The hash is then stored in the database. The hash should be one way

Re: Password see

2020-10-08 Thread Mohammad Ahshan Danish
you can create new superuser. I think there is way to reset superuer password. you can't retrieve old passwords. it gets stored in using Hash algo and not possible to decode. On Thu, Oct 8, 2020 at 5:11 PM kkwaq...@gmail.com wrote: > *How to se password admin *, > *Django in store pa

Password see

2020-10-08 Thread kkwaq...@gmail.com
*How to se password admin *, *Django in store password encrypted format* , *How to retrieve password and decrypted password* . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: Regarding sending the link to reset the password

2020-06-14 Thread Devendra reddy
Thanks to all. On Sun, Jun 14, 2020 at 1:38 AM Kasper Laudrup wrote: > Hi Devendra, > > On 13/06/2020 20.43, Devendra reddy wrote: > > Hi to all > > > > I am working on the api side using python django.now i have the one > > requirement. i want to send the

Re: Regarding sending the link to reset the password

2020-06-13 Thread Kasper Laudrup
Hi Devendra, On 13/06/2020 20.43, Devendra reddy wrote: Hi to all  I am working on the api side using python django.now i have the one requirement. i want  to send the link to reset the password while clicking on the forgot password link on the ui. from api side  i want to send the mail

Re: Regarding sending the link to reset the password

2020-06-13 Thread Agnese Camellini
I have set a temporary password when they give me the email. By the update on the user i check in the password field if there is the temporary password and if it is there i send the reset link by email. I have an api with django rest framework and django. Agnese Il Sab 13 Giu 2020, 20:44 Devendra

Regarding sending the link to reset the password

2020-06-13 Thread Devendra reddy
Hi to all I am working on the api side using python django.now i have the one requirement. i want to send the link to reset the password while clicking on the forgot password link on the ui. from api side i want to send the mail by the link of reset password to the respected user.please help

Re: How to add a button to Django Admin user menu (the one with logout, change password, ...) ? [SOLVED]

2020-06-12 Thread Olivier
ngo Admin, I can see a header on view top with: > - "Django Administration" on the left > - 4 items on the right > + "welcome Foo" > + "View site" link > + "Change password" > + "Logout" > > I want to a add a styled "Dep

How to add a button to Django Admin user menu (the one with logout, change password, ...) ?

2020-06-12 Thread Olivier
Hello, When logged into Django Admin, I can see a header on view top with: - "Django Administration" on the left - 4 items on the right + "welcome Foo" + "View site" link + "Change password" + "Logout" I want to a add a styled "Deplo

RE: Error while trying to send email for password reset

2020-05-24 Thread Vishesh Mangla
\u...    represents a Unicode character and you are using an ascii-decoder to decode it.Consider using encoding=”utf-8”. Sent from Mail for Windows 10 From: sunday honestySent: 24 May 2020 21:09To: Django usersSubject: Error while trying to send email for password reset I got the following error

Error while trying to send email for password reset

2020-05-24 Thread sunday honesty
I got the following error while trying to send email with send grid smtp UnicodeEncodeError: 'ascii' codec can't encode character '\u2020' in position 168: ordinal not in range(128) -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Can Django (application itself) connect to MySQL via Kerberos/GSSAPI ticket instead of password?

2020-05-19 Thread Hella Nick
atabase user name and password? > > I have searched around the web for a while and am still trying to find a > way to get a Django web app itself to authenticate to a MySQL DB equipped > with GSSAPI plugin via Kerberos. The Django app runs off Apache started in > this way: > >

Can Django (application itself) connect to MySQL via Kerberos/GSSAPI ticket instead of password?

2020-05-19 Thread Edward Rose
Hello - Does Django have any support for the web application itself being able to connect to MySQL using Kerberos Authentication / GSSAPI rather than a hard coded database user name and password? I have searched around the web for a while and am still trying to find a way to get a Django web

Re: password reset pages are not showing customizing html file

2020-05-14 Thread Ali Ahammad
eryone > > i am trying to make a blog where i am trying to customize password reset > forms. > here is my bloggapp/urls.py: > from django.contrib import admin > from django.urls import path, include > from django.views.generic.base import TemplateView > from dj

password reset pages are not showing customizing html file

2020-05-13 Thread Ali Ahammad
hello everyone i am trying to make a blog where i am trying to customize password reset forms. here is my bloggapp/urls.py: from django.contrib import admin from django.urls import path, include from django.views.generic.base import TemplateView from django.contrib.auth import views

Password Reset Template customization

2020-05-11 Thread mick
I am not able to customise the default django rest auth password reset template.Can anyone please help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: My first django app error: FATAL: password authentication failed for user "postgres"

2020-05-04 Thread Pratibha Gupta
y first time working with django, I am following youtubes' tutorial > from telusko. However I am having troubles, my computer has the following > OS: Ubuntu 18.04.3 LTS. > > I am running docker images for the postgres and pgAdmin tools, I set up my > password in the docker-compose.yml fi

General Question Regarding Django Password Validation differences

2020-04-19 Thread Ahmed Khairy
I have used UserCreationForm and got this result below with no validations regarding the password while there are other Usercreationforms with password validations. I am using Django 2.2 -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django user model. 1 admin account, 1 customer account with the same email and different password

2020-04-13 Thread Bill Freeman
certainly some email providers who don't follow this convention, and will treat the two addresses as different, making it impossible to get activation emails, password reset emails, and anything else that you want the Django instance to send you. If you are willing to crawl down inside the Django code a

Re: Django user model. 1 admin account, 1 customer account with the same email and different password

2020-04-13 Thread Carsten Fuchs
Hello, Am 13.04.20 um 02:59 schrieb Kenny Soh: > * An admin account must not share the same password as the customer account. Your entire problem would become much easier if you just dropped that requirement. Whatever you want to achieve with forcing a single user to keep two passwords,

Re: Django user model. 1 admin account, 1 customer account with the same email and different password

2020-04-12 Thread Ernest Thuku
erent login > pages ). > >- An admin can invite a customer >- An admin can be a customer as well , can invite himself into the >customer portal >- An admin account must not share the same password as the customer >account. >- Email is used as the unique fie

Django user model. 1 admin account, 1 customer account with the same email and different password

2020-04-12 Thread Kenny Soh
account must not share the same password as the customer account. - Email is used as the unique field for both admin and customer account. For example : Admin account - custo...@email.com /password1 Customer account - custo...@email.com /password2 Solution 1: - Permission. Having 1 account

Password Reset Template customization

2020-04-10 Thread mick
I am trying to override the default template of the password reset but I am getting in email the tags instead of proper formatting of the HTML page Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Password reset token - get error for expired token

2020-01-22 Thread mohamed Alisaleh
بتاريخ الأربعاء، 22 يناير، 2020 5:56:02 م UTC+3، كتب wagner: > Hello together, > with PASSWORD_RESET_TIMEOUT_DAYS I can manage the days till the password > reset token will expire. After that the page will just reload, when you try > to set a new password. > Is it possible t

Password reset token - get error for expired token

2020-01-22 Thread mohamed Alisaleh
مزامنة البريد الالكتروني وجميع حسابي -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the

Re: Password reset token expired - get an error message

2020-01-22 Thread mohamed Alisaleh
بتاريخ الأربعاء، 22 يناير، 2020 5:55:58 م UTC+3، كتب wagner: > Hello together, > i found out that i can set a PASSWORD_RESET_TIMEOUT_DAYS variable in settings. > This worked for me. After one day the token is expired and when i try to set > a new password, the page does a reload.

Re: Password reset token expired - get an error message

2020-01-22 Thread mohamed Alisaleh
بتاريخ الأربعاء، 22 يناير، 2020 5:55:58 م UTC+3، كتب wagner: > Hello together, > i found out that i can set a PASSWORD_RESET_TIMEOUT_DAYS variable in settings. > This worked for me. After one day the token is expired and when i try to set > a new password, the page does a reload.

Password reset token - get error for expired token

2020-01-22 Thread wagner
Hello together, with PASSWORD_RESET_TIMEOUT_DAYS I can manage the days till the password reset token will expire. After that the page will just reload, when you try to set a new password. Is it possible to show an error message then? Is there a workaround? Thank you, Danny -- You received

Password reset token expired - get an error message

2020-01-22 Thread wagner
Hello together, i found out that i can set a PASSWORD_RESET_TIMEOUT_DAYS variable in settings. This worked for me. After one day the token is expired and when i try to set a new password, the page does a reload. So nothing happens. This is correct. Is there a good way / workaround to get

Re: Password Reset

2020-01-10 Thread Soumen Khatua
Suraj- You are generating the password by yourself. But in my case I want to give the freedom to users to choose the password by sending some mail like typical django inbuilt approach. Thank for your response. On Fri, Jan 10, 2020 at 2:13 PM Suraj Thapa FC wrote: > https://github.com/Sura

Re: Password Reset

2020-01-10 Thread Suraj Thapa FC
https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification On Fri, 10 Jan 2020, 12:35 pm Soumen Khatua, wrote: > Hi Guys, > In Django we have some inbuilt class for password rest and confirmation. > But In Django rest framework ,How can I do that? > > Please share a

Password Reset

2020-01-09 Thread Soumen Khatua
Hi Guys, In Django we have some inbuilt class for password rest and confirmation. But In Django rest framework ,How can I do that? Please share any code snippet or link. Thank you in advance Regards, Soumen -- You received this message because you are subscribed to the Google Groups "D

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Muhammed Rafi A
password is not correct, check them or reset the password ones more On Fri, Jan 3, 2020 at 2:58 PM shailendra singh wrote: > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): > File > "/Library/Frameworks/Python.fr

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Rajesh Maruti
The authentication error for the database username with password Please check the DB username and password On Fri, 3 Jan 2020 at 14:57, shailendra singh wrote: > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): > File

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread sagar ninave
Hello ShailendraI have tried to attached postgresql to django but it could not happened please can you tell me what is procedure to do that -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread shailendra singh
in connect > self.connection = self.get_new_connection(conn_params) > File > "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py", > > line 26, in inner > return func(*args, **kwargs) > File > "/Applications/Pro

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Motaz Hejaze
To test just create another user and database and grant all privileges for the new user to the new database and finally add those new credentials to django settings.py On Fri, 3 Jan 2020, 12:46 pm ramadhan ngallen, wrote: > Hello > The reason was due to wrong password for the postgre.

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread ramadhan ngallen
Hello The reason was due to wrong password for the postgre. Kindly test the password via Pgadmin. Best Regards Ramadhan Ngallen Software Consultant Phone: +255 715 200 997 | ngall...@gmail.com On 3 Jan 2020, 12:27 +0300, shailendra singh , wrote: > The above exception was the direct ca

Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread shailendra singh
ackends/postgresql/base.py", line 185, in get_new_connection connection = Database.connect(**conn_params) File "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py", line 126, in connect conn = _connect(dsn, connection_factory=conne

Re: change page title of password reset form

2020-01-01 Thread Mike Dewhirst
On 2/01/2020 9:12 am, sum abiut wrote: How do you change the default page header of the password reset form? I did something like below but the default page still doesn't change. You need an admin template ... project/templates/admin/base-site.html ... which extends admin/base-site.html Any

change page title of password reset form

2020-01-01 Thread sum abiut
How do you change the default page header of the password reset form? I did something like below but the default page still doesn't change. admin.site.site_header = "testing" [image: image.png] -- You received this message because you are subscribed to the Google Groups "Djan

Re: Password protection of url in gunicorn like .htaccess

2019-12-29 Thread Roshan Shah
Anyone has any clue on this? On Fri, Dec 27, 2019 at 3:11 PM Roshan Shah wrote: > Hi there, > > I have a django site hosted on heroku. I want to restrict production site > and staging sites running gunicorn to outside general public. > > Do we have anything like .htaccess p

Password protection of url in gunicorn like .htaccess

2019-12-27 Thread Roshan Shah
Hi there, I have a django site hosted on heroku. I want to restrict production site and staging sites running gunicorn to outside general public. Do we have anything like .htaccess password protection in gunicorn? or Do I have to setup login / pass / admin area? -- Roshan Shah This e-mail

Re: HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread Integr@te System
Hi freind, the last time u recieved an email to check config with content of many fields and connection. If u see wrong password field, check in app and db setting. On Sat, Nov 30, 2019, 04:51 Jonathan Duclos wrote: > > > On Friday, 29 November 2019 09:42:00 UTC-3, EMPOWER EX

Re: HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread Jonathan Duclos
File > "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", > > line 176, in get_new_connection > connection = Database.connect(**conn_params) > File > "/home/flavien/MyProjects/analyseprotection

Re: HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread John McClain
e-packages/django/db/backends/postgresql/base.py", > line 176, in get_new_connection > connection = Database.connect(**conn_params) > File > "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/psycopg2/__init__.py", > line 126, in connect > conn = _connect(dsn,

Re: HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread EMPOWER EXCEL
s/base/base.py", >> line 213, in ensure_connection >> self.connect() >> File >> "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/base/base.py", >> line 189, in connect >> self.connection = self.get_n

Re: HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread Integr@te System
gt; "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", > line 176, in get_new_connection > connection = Database.connect(**conn_params) > File > "/home/flavien/MyProjects/analyseprotection/local/li

HELP HELP FATAL: password authentication failed for user "postgres"

2019-11-29 Thread EMPOWER EXCEL
onnection = Database.connect(**conn_params) File "/home/flavien/MyProjects/analyseprotection/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 126, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: F

Re: Expire Password Reset Link

2019-10-25 Thread Percival Rapha
I use django.core.signing.Signer...usually i store identifiers and a timestamp which will be checked upon a request. You should check it out! On Wednesday, October 23, 2019 at 3:06:17 PM UTC+2, prabhakaran karthikeyan wrote: > > If an user requests a password reset link, cl

Re: Expire Password Reset Link

2019-10-23 Thread 'Maher, Brian' via Django users
a set time, or after a successful password change/reset. In the case that generating a new link expires existing ones, where there is no rate limiting, it would be theoretically possible to prevent someone resetting their password by continually requesting new links for their account. Bri

Re: Expire Password Reset Link

2019-10-23 Thread Nelson Varela
Why give out more than one link? Why not use get_or_create to make link or use existing link for that user? Op woensdag 23 oktober 2019 15:06:17 UTC+2 schreef prabhakaran karthikeyan: > > If an user requests a password reset link, clicking on it will make the > link expirable. Supp

  1   2   3   4   5   6   7   8   9   10   >