Re: No reverse match at /

2021-07-06 Thread Julio Cojom
For what I can see in the issue, you're passing 2 values to the url (id , topic) Maybe the error its for the topic because of the value (/Subject/Django) try to sanitize the value after store it in the database, because it try to get the url example.com/3//Subject/Django where 3 its the id or pk

Re: No reverse match at /

2021-07-06 Thread DJANGO DEVELOPER
you have to provide id in your urls and in subject.html as well. share you views and url as well. On Tue, Jul 6, 2021 at 6:08 PM Bhanu prasad Ch wrote: > I had a problem in passing special characters in Charfield in DB of Django. > Is that possible to pass special characters in CharField DB? >

No reverse match at /

2021-07-06 Thread Bhanu prasad Ch
I had a problem in passing special characters in Charfield in DB of Django. Is that possible to pass special characters in CharField DB? GitHub Issue -- You received this message because you are subscribed to the Google Groups "Django users"

Re: No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-19 Thread Farai M
You can use Httpresponse(reverse_lazy('appname')) On Sun, Apr 19, 2020, 6:35 AM Ahmed Khairy wrote: > For this project, I have made 2 applications: Core and Users > > Creating a new user is the 2nd application. > I am trying to direct the new user after registration to 'home' > > I keep getting

Re: No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-19 Thread Jorge Gimeno
I would try to replace return redirect('home') with return redirect(reverse('home')) -Jorge On 4/18/20, Motaz Hejaze wrote: > اعمل اسم الفانكشن الحقيقي مكان اسم ال url او استخدم redirect reverse > > On Sun, 19 Apr 2020, 6:35 am Ahmed Khairy, > wrote: > >> For this project, I have made 2

Re: No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-19 Thread Motaz Hejaze
اعمل اسم الفانكشن الحقيقي مكان اسم ال url او استخدم redirect reverse On Sun, 19 Apr 2020, 6:35 am Ahmed Khairy, wrote: > For this project, I have made 2 applications: Core and Users > > Creating a new user is the 2nd application. > I am trying to direct the new user after registration to 'home'

No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-18 Thread Ahmed Khairy
For this project, I have made 2 applications: Core and Users Creating a new user is the 2nd application. I am trying to direct the new user after registration to 'home' I keep getting NoReverse Match Error This is the view.py this is the code: def register(request): if request.method ==

Django 2.1.1 No Reverse Match

2018-09-15 Thread Emprex KG
Hey everyone, been learning Django for a week or so ago now, Today I have been having issues with the Django reset_password view after I have added namespace to my app path('reset_password/', PasswordResetView.as_view(template_name='accounts/reset_password.html'), name='reset_password'),

Re: No Reverse Match Exception

2017-12-17 Thread yingi keme
You nailed it james. It worked for me. The capitalization matters. Thanks James..!!! Yingi Kem > On 17 Dec 2017, at 12:14 PM, James Schneider wrote: > > > > > Update > > It gives the No Reverse Error. I dont seem to understand why > > Instead of User.id, try

Re: No Reverse Match Exception

2017-12-17 Thread James Schneider
Update It gives the No Reverse Error. I dont seem to understand why Instead of User.id, try user.id, capitalization matters. Trying not to confuse things, but in this instance you may instead want to use object.id, since you may be referring to a different User object than the one that is

Re: No Reverse Match Exception

2017-12-17 Thread James Schneider
On Dec 17, 2017 12:30 AM, "yingi keme" wrote: The problem is that, it works perfectly when i put the number on the template like this Update But when i do Update It gives the No Reverse Error. I dont seem to understand why Instead of User.id, try user.id,

Re: No Reverse Match Exception

2017-12-17 Thread yingi keme
So is there no way out? I am really confused how to go on with this Yingi Kem > On 17 Dec 2017, at 9:44 AM, Andréas Kühne wrote: > > > > 2017-12-17 9:35 GMT+01:00 pradam programmer : >> From this: >> Update >> Change to this: >>

Re: No Reverse Match Exception

2017-12-17 Thread Andréas Kühne
2017-12-17 9:35 GMT+01:00 pradam programmer : > From this: > Update > Change to this: > Update > > That will not work and isn't recommended. Everything within {% %} is python code already, so you don't need to interpolate again. I don't even think that will work.

Re: No Reverse Match Exception

2017-12-17 Thread pradam programmer
>From this: Update Change to this: Update On 17-Dec-2017 2:00 PM, "yingi keme" wrote: > The problem is that, it works perfectly when i put the number on the > template like this > > Update > > But when i do > > Update > > It gives the No Reverse Error. I dont seem to

Re: No Reverse Match Exception

2017-12-17 Thread yingi keme
The problem is that, it works perfectly when i put the number on the template like this Update But when i do Update It gives the No Reverse Error. I dont seem to understand why Yingi Kem > On 16 Dec 2017, at 11:18 AM, Любопытный Енот wrote: > > try fix your pattern to

Re: No Reverse Match Exception

2017-12-16 Thread Любопытный Енот
try fix your pattern to r'^/Core/UpdateMe/(?P\\d+)/$' суббота, 16 декабря 2017 г., 12:22:49 UTC+3 пользователь yingi keme написал: > > I am using the django generic UpdateView > > class UserUpdate(UpdateView): > model = User > fields = ['first_name', 'last_name', 'email', 'username'] >

No Reverse Match Exception

2017-12-16 Thread yingi keme
I am using the django generic UpdateView class UserUpdate(UpdateView): model = User fields = ['first_name', 'last_name', 'email', 'username'] template_name = 'Core\MyUpdate.htm' And my url pattern is this: url(r'^UpdateMe/(?P\d+)/$', UserUpdate.as_view(), name='Update') However,

Re: no django reverse match

2016-07-09 Thread ludovic coues
After reading your message, I don't know what the app should do, and what happen currently. I don't know if there is an error or not. Some part are missing like the imports, app_name in urls.py or the url for message_board:list. As a sidenote, I will suggest you to look the authentication views

no django reverse match

2016-07-09 Thread ashutosh13103496
this is my login view ... def login(request): # c = {} # c.update(csrf(request)) return render(request, 'envato.rathemes.com/infinity/topbar/login.html') def auth_view(request): username = request.POST.get('username', '') password = request.POST.get('password', '')

Re: Reverse match Exception on password_reset_confirm

2009-01-23 Thread Malcolm Tredinnick
On Fri, 2009-01-23 at 22:44 +0200, Oleg Oltar wrote: > Hi! > > > I am trying to add password reset function to my application. > But when I am trying to process the email with confirmation link: > > > code: > # Password resend group > >