Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
So you need to make your reverse calls use this views, if is really needed. If only template names are changed, have no sense to add custom views, just use same names in right place. and about this right place...when I used: accounts/templates/registration/ some templates for password get templ

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Yeah. I don't understand that either. Except that auth_views.py uses different templates I think… Sent from my iPhone On Oct 7, 2010, at 1:50 PM, Felipe Prenholato wrote: But about views that you have at auth_views.py, are same of django auth views? this registration/auth_views.py exists for so

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
But about views that you have at auth_views.py, are same of django auth views? this registration/auth_views.py exists for something, not? 2010/10/7 Joel Klabo > Awesome, that fixed it. All I had to do was change "from registration > import auth_views" to "from django.contrib.auth import views as

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Awesome, that fixed it. All I had to do was change "from registration import auth_views" to "from django.contrib.auth import views as auth_views" Thank you so much On Thu, Oct 7, 2010 at 12:56 PM, Ted wrote: > I think your problem is in auth_urls.py > > 28 - from registration import auth_views

Re: Django Registration password reset problem

2010-10-07 Thread Ted
I think your problem is in auth_urls.py 28 - from registration import auth_views in my version of registration this is: from django.contrib.auth import views as auth_views Then you can understand why you get this error: NoReverseMatch: Reverse for 'django.contrib.auth.views.password_reset_compl

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
I am just using it as is. I haven't modified any of the code from django-registration. I'm confused as to how these are connected. Thanks for looking. On Thu, Oct 7, 2010 at 10:20 AM, Felipe Prenholato wrote: > This auth_views.py doesn't exist in trunk (that is this version), sounds > like you wr

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
This auth_views.py doesn't exist in trunk (that is this version), sounds 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 right to reference this custom views? (anyway, toni

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Also, all my code is on Github if you would like to see something else: http://github.com/joelklabo/brooski I really appreciate your help, thank you. On Thu, Oct 7, 2010 at 9:43 AM, Joel Klabo wrote: > My version is: VERSION = (0, 8, 0, 'alpha', 1) > > Yeah, I have that include in my version as

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
My version is: VERSION = (0, 8, 0, 'alpha', 1) Yeah, I have that include in my version as well... It sends and email with this link: http://brooski.net/accounts/password/reset/confirm/1-2r2-ce8f57c2669d29e5f24e/ and

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
Actually auth urls is 'appended' to urls in default backend (and should be added to your own backend if you create one). Take a look at this line: http://1l.to/bf1/ ... so you don't need to add it (again) to your urls. I don't have this error with password_reset_complete view , but I'm using my c

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
Thanks for checking it out, this is the way it's set up: http://dpaste.org/e6Ra/ it looks like it's using registration.auth_urls to direct to the django.contrib.auth.urls ? I don't understand why registration.auth_urls would exist... On Oct 6, 6:32 pm, Ian Lewis wrote: > I just took a cursory lo

Re: Django Registration password reset problem

2010-10-06 Thread Ian Lewis
I just took a cursory look at this but did you make sure to add something like the following to your urlpatterns in urls.py? urlpatterns=patterns('', ... (r'^accounts/', include('django.contrib.auth.urls')), ... ) On Thu, Oct 7, 2010 at 1:29 AM, Joel Klabo wrote: > So now I am redire

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
So now I am redirecting to the named url in the URL conf. That is now giving me the error: The included urlconf registration.auth_urls doesn't have any patterns in it ... http://dpaste.org/OOw5/ any ideas would be greatly appreciated On Oct 5, 5:56 pm, Joel Klabo wrote: > Ok, so I'm pretty sure t

Re: Django Registration password reset problem

2010-10-05 Thread Joel Klabo
Ok, so I'm pretty sure this has to do with the fact that the post_reset_redirect argument defaults to the django.contrib.auth.views.password_reset_done if no post_reset_redirect is passed to the view. I am using django- registration and it seems like there would be a better way to deal with this...

Re: Django Registration password reset problem

2010-10-05 Thread Steve Holden
On 10/5/2010 4:45 PM, Joel Klabo wrote: > Need to bump this, sorry. I don't get it. > > On Oct 5, 1:04 pm, Joel Klabo wrote: >> This is the error and location of the problem:http://gist.github.com/612210, >> I can't see what it's looking for. It seems like I could hard code the >> arguments it wa

Re: Django Registration password reset problem

2010-10-05 Thread Joel Klabo
Need to bump this, sorry. I don't get it. On Oct 5, 1:04 pm, Joel Klabo wrote: > This is the error and location of the problem:http://gist.github.com/612210, > I can't see what it's looking for. It seems like I could hard code the > arguments it wants into the reverse() but that doesn't seem like

Django Registration password reset problem

2010-10-05 Thread Joel Klabo
This is the error and location of the problem: http://gist.github.com/612210, I can't see what it's looking for. It seems like I could hard code the arguments it wants into the reverse() but that doesn't seem like the correct way to do it. Any advice? -- You received this message because you are