Re: username on URL with Class Based Views

2018-09-13 Thread Ricardo Cataldi
Nice! Thanks a lot! On Thu, Sep 13, 2018 at 8:45 AM Jason wrote: > return redirect('settings:profile') > > > The issue is this. you're telling Django to hit up that URL, but you > don't specify the username for that. > > Something like this would be required: return > redirect('settings:profil

Re: username on URL with Class Based Views

2018-09-13 Thread Jason
return redirect('settings:profile') The issue is this. you're telling Django to hit up that URL, but you don't specify the username for that. Something like this would be required: return redirect('settings:profile', args=(username,)) -- You received this message because you are subscrib

Re: username on URL with Class Based Views

2018-09-12 Thread Gear Crew
Do you know what's the specific problem in my code? On Wed, 12 Sep 2018 at 22:05, Ricardo Cataldi wrote: > nice to be here again :D > > > This question is on stackoverflow, in here: > https://stackoverflow.com/questions/52302052/django-url-custom-parameters-on-base-class-view. > I have writen a