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 <ted.tie...@gmail.com> wrote: > 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_complete' with arguments > '()' and keyword arguments '{}' not found. > > Because, you aren't mapping a URL to > django.contrib.auth.views.password_reset_complete. You are mapping a > URL to registration.auth_views.password_reset_complete. Django > doesn't know that registration.auth_views.password_reset_complete is > where you handle django.contrib.auth.views.password_reset_complete. > > You have two ways out of this: > > 1) don't use your local copy of auth_views, switch back to the > imported version. > > 2) In auth_views.py update: > 110 - post_reset_redirect = > reverse('django.contrib.auth.views.password_reset_done') > 144 - post_reset_redirect = > reverse('django.contrib.auth.views.password_reset_complete') > 177 - post_change_redirect = > reverse('django.contrib.auth.views.password_change_done') > > to > 110 - post_reset_redirect = > reverse('registration.auth_views.password_reset_done') > 144 - post_reset_redirect = > reverse('registration.auth_views.password_reset_complete') > 177 - post_change_redirect = > reverse('registration.auth_views.password_change_done') > > It also bears mentioning that name spacing registration can cause a > similar set of errors. > > Let me know if that worked, > Ted > > On Oct 7, 10:59 am, Joel Klabo <joelkl...@gmail.com> wrote: > > 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 <philipe...@gmail.com > >wrote: > > > > > > > > > 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, tonight I'll check the code) > > > > > 2010/10/7 Joel Klabo <joelkl...@gmail.com> > > > > >> 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 <joelkl...@gmail.com> > wrote: > > > > >>> 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-ce8f57c2669d... > > > > >>> < > http://brooski.net/accounts/password/reset/confirm/1-2r2-ce8f57c2669d.. > .>and > > >>> then when I click the link I get this error:http://dpaste.org/vrLp/ > > > > >>> On Thu, Oct 7, 2010 at 5:48 AM, Felipe Prenholato < > philipe...@gmail.com>wrote: > > > > >>>> 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 clone of original repo with some useful patches > (additions). What > > >>>> is version that you are using? > > > > >>>> 2010/10/7 Joel Klabo <joelkl...@gmail.com> > > > > >>>>> 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 <ianmle...@gmail.com> wrote: > > >>>>> > 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 <joelkl...@gmail.com> > > >>>>> wrote: > > >>>>> > > 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/anyideas > > >>>>> > > would be greatly appreciated > > > > >>>>> > > On Oct 5, 5:56 pm, Joel Klabo <joelkl...@gmail.com> wrote: > > >>>>> > >> 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... There is something I'm missing. If anyone has > used > > >>>>> this > > >>>>> > >> and gotten it to work I would be grateful to hear about it. > All > > >>>>> the > > >>>>> > >> other parts of the registration system work which makes me > think > > >>>>> this > > >>>>> > >> has something to do with the fact that it is reverting back to > the > > >>>>> > >> django.contrib views and now using the ones that come with > django- > > >>>>> > >> registration... Here is the view where the error first pops > up, > > >>>>> this > > >>>>> > >> is where post_reset_redirect is as well: > http://dpaste.org/gatU/ > > > > >>>>> > >> Thanks for your time > > > > >>>>> > >> On Oct 5, 1:56 pm, Steve Holden <holden...@gmail.com> wrote: > > > > >>>>> > >> > On 10/5/2010 4:45 PM,JoelKlabowrote:> Need to bump this, > sorry. > > >>>>> I don't get it. > > > > >>>>> > >> > > On Oct 5, 1:04 pm,JoelKlabo<joelkl...@gmail.com> 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 the > > >>>>> > >> > >> correct way to do it. Any advice? > > > > >>>>> > >> > I can quite see how 41 minutes would appear to be an > infinity to > > >>>>> someone > > >>>>> > >> > who is wanting the answer to a problem. Please remember, > though, > > >>>>> that > > >>>>> > >> > people who post on this list aren't paid to do so, and > mostly > > >>>>> have > > >>>>> > >> > full-time jobs. > > > > >>>>> > >> > So a little patience will make it more likely people will > help > > >>>>> you. > > > > >>>>> > >> > regards > > >>>>> > >> > Steve > > >>>>> > >> > -- > > >>>>> > >> > DjangoCon US 2010 September 7-9http://djangocon.us/ > > > > >>>>> > > -- > > >>>>> > > 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...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > >>>>> . > > >>>>> > > For more options, visit this group athttp:// > > >>>>> groups.google.com/group/django-users?hl=en. > > > > >>>>> > -- > > >>>>> > Ian > > > > >>>>> >http://www.ianlewis.org/ > > > > >>>>> -- > > >>>>> 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...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > >>>>> . > > >>>>> For more options, visit this group at > > >>>>>http://groups.google.com/group/django-users?hl=en. > > > > >>>> -- > > >>>> Felipe 'chronos' Prenholato. > > >>>> Linux User nº 405489 > > >>>> Home page:http://chronosbox.org/blog > > >>>> Twitter:http://twitter.com/chronossc > > >>>> Usehttp://1l.toto shrink your urls :) > > > > >>>> -- > > >>>> You received this message because you are subscribed to the Google > > >>>> Groups "Django users" group. > > >>>> To post to this group, send email to django-us...@googlegroups.com. > > >>>> To unsubscribe from this group, send email to > > >>>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > >>>> . > > >>>> For more options, visit this group at > > >>>>http://groups.google.com/group/django-users?hl=en. > > > > >>> -- > > >>> Joel Klabo - 408-506-6759 > > > > >> -- > > >> Joel Klabo - 408-506-6759 > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "Django users" group. > > >> To post to this group, send email to django-us...@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/django-users?hl=en. > > > > > -- > > > Felipe 'chronos' Prenholato. > > > Linux User nº 405489 > > > Home page:http://chronosbox.org/blog > > > Twitter:http://twitter.com/chronossc > > > Usehttp://1l.toto shrink your urls :) > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Django users" group. > > > To post to this group, send email to django-us...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. > > > > -- > > Joel Klabo - 408-506-6759 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Joel Klabo - 408-506-6759 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.