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 v

/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.s

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 attri

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 unsubscrib

Re: password reset pages are not showing customizing html file

2020-05-14 Thread Ali Ahammad
i Ahammad wrote: > > 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 i

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 as

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

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 this

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 w

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. > So nothing happ

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. > So nothing happ

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 an erro

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/SurajFc/Dj

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 any code snippet o

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 "Django u

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

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 "

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, clicking on i

Re: Expire Password Reset Link

2019-10-23 Thread 'Maher, Brian' via Django users
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. Suppose, user req

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

Expire Password Reset Link

2019-10-23 Thread prabhakaran karthikeyan
If an user requests a password reset link, clicking on it will make the link expirable. Suppose, user requests more than one link mistakenly, just need to expire the first link . The user should get reset form only from recent link. Any help is appreciated. Thank You. -- You received this

password reset

2019-06-01 Thread ExplaineR KhaN
​ i handle password reset when i write this code can not me send email def send_mail(to, template, context): html_content = render_to_string(f'accounts/emails/{template}.html', context) text_content = render_to_string(f'accounts/emails/{template}.txt', context) msg = Em

Re: Password reset from address

2018-12-17 Thread Andréas Kühne
docs, > which I had missed before: > > > https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-DEFAULT_FROM_EMAIL > > On Fri, Dec 14, 2018 at 3:51 PM Andréas Kühne > wrote: > > > > Hi, > > > > Check the views for password reset in the dj

Re: Password reset from address

2018-12-17 Thread Larry Martell
Thanks for the reply, Andréas, but I just found this in the docs, which I had missed before: https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-DEFAULT_FROM_EMAIL On Fri, Dec 14, 2018 at 3:51 PM Andréas Kühne wrote: > > Hi, > > Check the views for password

Re: Password reset from address

2018-12-15 Thread malisutnau
Thankyou sir Sent from my Mi phoneOn Andréas Kühne , Dec 15, 2018 3:21 AM wrote:Hi,Check the views for password reset in the django.contrib.auth package. You can add the form_email by creating a class that inherits the PasswordResetView and sets the from_email property on that view.Regards

Re: Password reset from address

2018-12-14 Thread Andréas Kühne
Hi, Check the views for password reset in the django.contrib.auth package. You can add the form_email by creating a class that inherits the PasswordResetView and sets the from_email property on that view. Regards, Andréas Den fre 14 dec. 2018 kl 19:02 skrev Larry Martell : > Is there a

Password reset from address

2018-12-14 Thread Larry Martell
Is there a way to set the from address used in the password reset email? -- 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-user

Password reset in Django on nginx server writes to log file instead of sending email

2018-05-14 Thread Tom Tanner
SUPPORT_EMAIL = "supp...@mydomain.com" When I fill out the `/password_reset/` template with an email and submit the form, the address I enter gets no password-reset message. Nothing is logged to *error.log*. Here's what I see in *uwsgi.log* [pid: 3354|app: 0|req: 1489/

Trigger password reset

2018-05-04 Thread Álmos Kovács
Hi Everyone, I got stucked with triggering password reset in my custom view. I want to trigger it in different places but I want to use the OOTB souliton. I've found that I can import and use from django.contrib.auth.forms import PasswordResetForm and from django.contrib.auth.views i

How do I set up an AngularJS-driven form to work with Django password reset functionality?

2018-03-13 Thread Tom Tanner
I'm working on a web page with AngularJS v1.5.6. This page has other forms. I want to add a "Reset password" form to this page. I've seen this Django password reset for tutorial: https://simpleisbetterthancomplex.com/tutorial/2016/09/19/how-to-create-password-reset-view.ht

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Alastair Campbell
Jason wrote: > what do you have for EMAIL_PORT and EMAIL_USE_TLS? IIRC, gmail requires > TLS to be True. > They are default (not set in the config). I believe the TLS is set by the mail agent, and the email I sent from Mutt on the command line used TLS so that appears to work. Vivek wrote: > Al

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Vivek Shrivastava
Also, please check if "allow insure access" is turned on for GMail. On Mon, Dec 4, 2017 at 10:13 AM, Jason wrote: > what do you have for EMAIL_PORT and EMAIL_USE_TLS? IIRC, gmail requires > TLS to be True. > > -- > You received this message because you are subscribed to the Google Groups > "Dja

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Jason
what do you have for EMAIL_PORT and EMAIL_USE_TLS? IIRC, gmail requires TLS to be True. -- 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..

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Alastair Campbell
Thanks, The django settings are very straightforward (localhost, email address set), and I've just tried sending from Mutt on that server (command line email from localhost), with the same email address, and that appears in the logs and gets delivered. But from the password reset: no

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Julio Biason
as on where to debug. > > Using the standard password reset in Django (v 1.10), it silently fails to > send to Gmail addresses. > > There is no error generated by Django, and it works for non-Gmail addresses. > > In /var/log/mail.log (a Debian VM on Linode), nothing gets pass

Re: Password reset to Gmail addresses fails

2017-12-04 Thread Antonis Christofides
Hi everyone, > > I have a very strange problem, I'm looking for ideas on where to debug. > > Using the standard password reset in Django (v 1.10), it silently fails to > send to Gmail addresses. > > There is no error generated by Django, and it works for non-Gmail addresses

Password reset to Gmail addresses fails

2017-12-04 Thread Alastair Campbell
Hi everyone, I have a very strange problem, I'm looking for ideas on where to debug. Using the standard password reset in Django (v 1.10), it silently fails to send to Gmail addresses. There is no error generated by Django, and it works for non-Gmail addresses. In /var/log/mail.log (a D

Password Reset using a URL with token

2017-08-14 Thread Anil Mor
Hi, I am facing an issue while implementing the password reset functionality. This is the error that I am facing, don't know where I am wrong. NoReverseMatch at /music/password_reset/ Reverse for 'password_reset_done' not found. 'password_reset_done' is not

Re: Password reset email not sent

2017-08-04 Thread Артём Думанов
Did you solve it? среда, 5 мая 2010 г., 0:16:41 UTC+3 пользователь janedenone написал: > > Hi, > > when using Django's password reset mechanism, the confirmation email > is not sent (although some of my custom views do send email > successfully using the SMTP configu

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
t/done/$', auth_views.password_reset_done, >> {'template_name': 'user_management/password_rese >> t_done.html','post_reset_redirect':'/reset/done/'}, >> name='password_reset_done'), >> >> >> >>

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
:* django-users@googlegroups.com [mailto:django-users@ > googlegroups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Sunday, April 9, 2017 3:13 PM > *To:* django-users@googlegroups.com > *Subject:* Re: Password reset custom view > > > > Here is full error message > ---

RE: Password reset custom view

2017-04-09 Thread Matthew Pava
one/'}, name='password_reset_done'), From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of sarfaraz ahmed Sent: Sunday, April 9, 2017 3:13 PM To: django-users@googlegroups.com Subject: Re: Password reset custom view Here is full error

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
Here is full error message NoReverseMatch at /password_reset/ Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] Request Method: GET Request URL: ht

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
This is full url.py... i have made all templates I also used name="password_reset_done". But still get same error On 9 April 2017 at 18:19, ludovic coues wrote: > Do you mind to share your full urls.py file and the full traceback ? > > If I have to take a guess with the informations you have

Re: Password reset custom view

2017-04-09 Thread ludovic coues
Do you mind to share your full urls.py file and the full traceback ? If I have to take a guess with the informations you have have shared, I would say the line url(r'^password_reset/done/$', auth_views.password_reset_done, {'template_name': 'user_management/password_reset_done.html','post_

Password reset custom view

2017-04-08 Thread sarfaraz ahmed
urlpatterns = [ url(r'^login/',login,name='login'), url(r'^auth_view/',auth_view, name='auth_view'), url(r'^signup_success/',signup_success,name='signup_success'), url(r'^signup/',signup,name='signup'), url(r'^logout/',logout,name='

Re: [ANNOUNCE] Django security advisory: Vulnerability in password reset (master branch only)

2016-11-23 Thread William Hakizimana
While we are at it, could we implement these NIST new password guidelines into django? Just On Monday, November 21, 2016 at 3:13:21 PM UTC-6, Tim Graham wrote: > > We don't normally give security advis

[ANNOUNCE] Django security advisory: Vulnerability in password reset (master branch only)

2016-11-21 Thread Tim Graham
We don't normally give security advisories for issues that affect only the master branch, but in this case we've made an exception as the issue could be high impact. Please see the blog post for details: https://www.djangoproject.com/weblog/2016/nov/21/passwordresetconfirmview-security-advisory/

Re: Intuition about (potentially) sending multiple password reset emails

2014-12-03 Thread Karen Tracey
The password reset form asks for an email address, not username. (This is assuming default Django User model.) The email address may be associated with more than a single User on the system -- there is no requirement (by default) that the user email address be unique. So a password reset email is

Intuition about (potentially) sending multiple password reset emails

2014-12-03 Thread Julian Gindi
I'm working with Django's built-in password reset capabilities, and noticed this curious line... https://github.com/django/django/blob/master/django/contrib/auth/forms.py#L231 can someone explain the intuition behind this line? It seems weird to potentially send multiple password re

Re: tracking intent during password reset process

2014-09-06 Thread Lee Hinde
t; Only need a single URLconf line for something like 'password/reset/' that > calls the custom view. All password resets will run through this URL > regardless of 'authorization level', as you put it. > > url(r'^password/reset/$', myviews.pass_reset_set_redirect,

Re: tracking intent during password reset process

2014-09-06 Thread James Schneider
en it calls the generic view and a tweak to the URLconf could solve this: Only need a single URLconf line for something like 'password/reset/' that calls the custom view. All password resets will run through this URL regardless of 'authorization level', as

Re: tracking intent during password reset process

2014-09-05 Thread Koed00
014 11:23:54 PM UTC+2, Lee Hinde wrote: > > I have three primary levels of access in my project. > > The public at / > Instructors at /instructor/ > Staff at /staff/ > > The issue is with the password reset process. > > If someone comes to /instructor/ and then goes

tracking intent during password reset process

2014-09-05 Thread Lee Hinde
I have three primary levels of access in my project. The public at / Instructors at /instructor/ Staff at /staff/ The issue is with the password reset process. If someone comes to /instructor/ and then goes through the password reset process I want them to end up at /instructor/ when they&#x

Re: Password reset not working.

2014-01-30 Thread Me Sulphur
On an alternative note, it is always good to follow some kind of consistent conventions for things like naming. You might also want to prefix 'password_change_done' and 'password_reset_done' with 'auth_' for the sake of consistency. -- You received this message because you are subscribed to th

Re: Password reset not working.

2014-01-30 Thread heidi
Thank you so much! Fixed now. How I missed that I have no idea. -- 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 pos

Re: Password reset not working.

2014-01-30 Thread Me Sulphur
url(r'^password/reset/(?P[0-9A-Za-z_\-]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', auth_views.password_reset_confirm, name='password_reset_confirm'), Try setting 'name' for the above url block as 'auth_password_reset_confirm' On Thu

Password reset not working.

2014-01-30 Thread heidi
I'm using Django 1.6.1, and password reset is not working. When users enter their email, 502 occurs and this is sent to me: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_respon

Why cannot template tags be used for password reset email notification template file?

2013-08-23 Thread nobody
Hi, I have customized template string tags such as {{ org_name }} and {{ account_email }} which work fine for most of email template files and html files, but the tags {{ org_name }} and {{ account_email }} could not work with password reset email template. The django/contrib/auth/forms.py

Re: Password reset email not sent

2013-04-04 Thread Max Lynch
I had the same problem, and it turned out to be that I didn't have a value set for DEFAULT_FROM_EMAIL. Hope that helps someone in the future. On Tuesday, May 4, 2010 4:28:04 PM UTC-5, Shawn Milochik wrote: > > I don't know why your e-mail isn't being sent, but I know that if multiple > User ins

Re: how to use django password reset

2013-01-28 Thread Sarfraz ahmad
thanx Bill, it gives me idea how password reset works in django On Tue, Jan 29, 2013 at 12:13 AM, Bill Freeman wrote: > Assuming that you are talking about the registered user's ability to set a > new password after forgetting the old password: > > The Django installation m

Re: how to use django password reset

2013-01-28 Thread Bill Freeman
;s password. It's a complex process for security's sake. Hopefully the overview above will help you to understand the documentation. Bill On Mon, Jan 28, 2013 at 11:55 AM, Sarfraz ahmad wrote: > How can i use django password reset method > unable to understand the djang

how to use django password reset

2013-01-28 Thread Sarfraz ahmad
How can i use django password reset method unable to understand the django documentation about password reset. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: Django 1.5 sendemail when doing password reset

2013-01-15 Thread Detectedstealth
gt; For some reason when trying to use password reset I am getting the > following message: > > SMTPDataError: (550, 'Administrative prohibition') > > However when I send emails from other areas in the application I don't > have this issue. What can be causing this?

Django 1.5 sendemail when doing password reset

2013-01-15 Thread Detectedstealth
Hi, For some reason when trying to use password reset I am getting the following message: SMTPDataError: (550, 'Administrative prohibition') However when I send emails from other areas in the application I don't have this issue. What can be causing this? -- Regards, Bruce -

Re: How to log a user in automatically after a password reset?

2012-11-28 Thread JC Briar
Ah, that's pretty slick! Thanks for the explanation. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/oLoM0-qA1gkJ. To post to this group, send email to djan

Re: How to log a user in automatically after a password reset?

2012-11-28 Thread Russell Keith-Magee
On Thu, Nov 29, 2012 at 12:32 AM, JC Briar wrote: > Option 1 doesn't hold much appeal, for all the reasons you mention. > > Option 2 is a possibility, I suppose. Checking to see if > password_reset_confirm returns an HttpRedirect is a possibility I hadn't > considered. > > Option 3 is intriguing.

Re: How to log a user in automatically after a password reset?

2012-11-28 Thread JC Briar
Option 1 doesn't hold much appeal, for all the reasons you mention. Option 2 is a possibility, I suppose. Checking to see if password_reset_confirm returns an HttpRedirect is a possibility I hadn't considered. Option 3 is intriguing. But this part has me scratching my head: > Then, write a m

Re: How to log a user in automatically after a password reset?

2012-11-27 Thread Russell Keith-Magee
save() method. Then, write a method that has the same prototype as the constructor for the form that the password_reset_confirm() method is expecting, but returns an instance of *your* form, bound with the current request. Abracadabra - you've got the request object provided to the password res

How to log a user in automatically after a password reset?

2012-11-27 Thread JC Briar
When a user has forgotten their password, I use django.contrib.auth.views.password_reset to send an email containing a temporary link. When the user follows that link, I use password_reset_confirm to let them set a new password. So far, so good. But password_reset_confirm doesn't automatically

Re: password reset

2012-11-20 Thread Larry Martell
ou the trouble of waiting for your mail client to >> pick up mail from a mailbox. >> >> Yours, >> Russ Magee %-) >> >> On Wed, Oct 17, 2012 at 8:28 PM, Larry Martell >> wrote: >> > I'm trying to set up the password reset stuff, follow

Re: password reset

2012-10-17 Thread Larry Martell
gt; pick up mail from a mailbox. > > Yours, > Russ Magee %-) > > On Wed, Oct 17, 2012 at 8:28 PM, Larry Martell > > > wrote: > > I'm trying to set up the password reset stuff, following what I read at: > > > > > https://do

Re: password reset

2012-10-17 Thread Russell Keith-Magee
uot; to the console, saving you the trouble of waiting for your mail client to pick up mail from a mailbox. Yours, Russ Magee %-) On Wed, Oct 17, 2012 at 8:28 PM, Larry Martell wrote: > I'm trying to set up the password reset stuff, following what I read at: > > https://docs.dja

password reset

2012-10-17 Thread Larry Martell
I'm trying to set up the password reset stuff, following what I read at: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature When I click on the 'Reset my password' button, I get: SMTPServerDisconnected at /admin/password_reset/ please run

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-17 Thread Tom Evans
On Thu, Nov 17, 2011 at 9:44 AM, Bram de Jong wrote: > The angle bracket thing is new to me: how exactly does this help? You > do mean regular < and > right? > > So > > > > Should be better than > > http://www.google.com > > ? > Yep, exactly. Well behaved email clients wil

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-17 Thread Bram de Jong
On Wed, Nov 16, 2011 at 2:39 PM, Andre Terra wrote: > Since url shorteners have already been suggested, how about the possibility > of writing a shorter url pattern in urls.py. Would something like > http://www.freesound.org/r/1-123-a12345678ed12345d123/ be good enough for > you? Sure, we could d

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-16 Thread Andre Terra
Tue, Nov 15, 2011 at 3:11 PM, Bram de Jong > wrote: > > Hmm, > > > > We have 2 milion users and this isn;t really a good solution for us... > > > > Does anyone else have an alternative password-reset app which doesn't > > use as many characters as the def

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-15 Thread Tom Evans
On Tue, Nov 15, 2011 at 3:11 PM, Bram de Jong wrote: > Hmm, > > We have 2 milion users and this isn;t really a good solution for us... > > Does anyone else have an alternative password-reset app which doesn't > use as many characters as the default one? > >  - bram &g

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-15 Thread Eric Chamberlain
We haven't used it for the password reset, but we've modified this short url code <http://code.activestate.com/recipes/576918-python-short-url-generator/> to reduce the length of our urls. -- Eric Chamberlain, Founder RingFree Mobility Inc. On Nov 15, 2011, at 7:11 AM, Br

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-15 Thread Bram de Jong
Hmm, We have 2 milion users and this isn;t really a good solution for us... Does anyone else have an alternative password-reset app which doesn't use as many characters as the default one? - bram On Mon, Nov 14, 2011 at 4:57 PM, creecode wrote: > Hello Bram, > > It's bee

Re: (fundamental) problem with password reset in 1.x: URL's become too long

2011-11-14 Thread creecode
Hello Bram, It's been awhile since I've had this problem. I don't think it is possible to totally solve the issue but it can be reduced. The problem is not Django but rather how email is handled from point to point. What I do is always put urls on a line by themselves and I put two empty lin

(fundamental) problem with password reset in 1.x: URL's become too long

2011-11-14 Thread Bram de Jong
Hello all, on freesound.org we are using the built-in password reset view to send users password reset emails... and there is a bit of a fundamental problem with the password reset emails, or more in detail the password reset URLS: they are way too long. In our app we get URLs like this: http

Re: Password Reset Problem

2011-06-13 Thread Daniel Roseman
On Monday, June 13, 2011 4:52:37 PM UTC+1, Jeremiah Malina wrote: > > Daniel, > > reset_password_confirm is my own view method in views.py which I'm using > because I have jinja2 as the template engine and it renders templates with a > different method > > Jeremiah Fine, but then you need to up

Re: Password Reset Problem

2011-06-13 Thread Jeremiah Malina
sword_reset_email.html, error at line 6 >>Caught NoReverseMatch while rendering: Reverse for '' with >> arguments '()' and keyword arguments '{'uidb36': '3', 'token': '2xz- >> d19b02c82b362d09395a'}' not f

Re: Password Reset Problem

2011-06-13 Thread Daniel Roseman
es/account/ > password_reset/password_reset_email.html, error at line 6 >Caught NoReverseMatch while rendering: Reverse for '' with > arguments '()' and keyword arguments '{'uidb36': '3', 'token': '2xz- > d19b02c82b362d09395a'}&

Password Reset Problem

2011-06-13 Thread Jeremiah Malina
x27;' with arguments '()' and keyword arguments '{'uidb36': '3', 'token': '2xz- d19b02c82b362d09395a'}' not found.' I'm trying to use Django's built in password reset feature with my own templates, but something

Re: Django password reset modification

2011-05-07 Thread Amanjeev Sethi
I second that. Email is the 'postcard' of the internet world. I wouldn't send plain text password through email(s) even while running HTTPS web based email services. On Sat, May 7, 2011 at 11:27 AM, Andy McKay wrote: > > On 2011-05-05, at 9:36 PM, Phui-Hock wrote: > > On May 6, 4:22 am, Shawn

Re: Django password reset modification

2011-05-07 Thread Andy McKay
On 2011-05-05, at 9:36 PM, Phui-Hock wrote: > On May 6, 4:22 am, Shawn Milochik wrote: >> This is a bad idea for multiple reasons. Don't do it. > > Huh, care to explain, please? Because it means you are storing passwords in plain text. There are multiple posts on the internet about this. Here

Re: Django password reset modification

2011-05-06 Thread Andre Terra
What you *can* do is e-mail the user with a link to reactivate his password, possibly requesting that he gives the right reply to a secret question. It's a good compromise between ease and security. On Fri, May 6, 2011 at 2:01 PM, DrBloodmoney wrote: > On Fri, May 6, 2011 at 12:36 AM, Phui-Hock

Re: Django password reset modification

2011-05-06 Thread DrBloodmoney
On Fri, May 6, 2011 at 12:36 AM, Phui-Hock wrote: > On May 6, 4:22 am, Shawn Milochik wrote: >> This is a bad idea for multiple reasons. Don't do it. > > Huh, care to explain, please? Please Please Please do not send plain text passwords via email. Please. -- You received this message because

Re: Django password reset modification

2011-05-05 Thread Phui-Hock
On May 6, 4:22 am, Shawn Milochik wrote: > This is a bad idea for multiple reasons. Don't do it. Huh, care to explain, please? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com.

Re: Django password reset modification

2011-05-05 Thread Shawn Milochik
This is a bad idea for multiple reasons. Don't do it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@goo

Django password reset modification

2011-05-05 Thread Rich
with support for resetting user passwords. This is implemented for the Admin app, but it is possible to re-use from your own screens. URLs The following four URLs are used in the password reset (r'^accounts/password/reset/$', 'django.contrib.auth.views.password_reset',

Send password reset without form?

2011-04-07 Thread Stu.Axon
I've got a piston based app, I want to be able to send a password reset email + having trouble working it out. I tried this so far: from django.contrib.auth.views import password_reset password_reset(request, post_reset_redirect = '/') But no email seems to be sent... not su

django.contrib.auth password reset reveals the user id

2010-10-20 Thread Yaniv Aknin
Hi, I'd like to use contrib.auth's password reset feature, but wouldn't like to expose my user id. Since user ids (even if they start at an arbitrary number) can be used to deduce the size of the userbase and growth rate, I think it's easy enough to justify this at least a

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
t;>> > > like you writing custom admin views? Or you just copied >>> admin/views.py >>> > > locally? >>> > >>> > > You already tried to resolve via name of url? >>> > > Else, if you writing custom admin views, isn't

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
ia name of url? >> > > Else, if you writing custom admin views, isn't right to reference this >> > > custom views? >> > >> > > (anyway, tonight I'll check the code) >> > >> > > 2010/10/7 Joel Klabo >> > >> > &g

  1   2   >