Re: page not found but url exists

2019-08-27 Thread Kean
Hi Luca, your suggestion worked, thank you. many thanks to the community for the ongoing advice and help, it really makes a huge and valuable difference. Best, K On 26 Aug 2019, at 20:59, Luca Mazzilli wrote: > Kean, > Have you tried removing the initial slash inside the path? > > -- > You

Re: page not found but url exists

2019-08-27 Thread Frederick Johnson
I think you should remove the / at the begining -- 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

Re: page not found but url exists

2019-08-26 Thread Sipum
Hey, Try by giving forward slashes(/) at the end of the each urls instead of using backward slashes like... Do as - register/ login/customer/ I think It will work On Tue, 27 Aug, 2019, 3:16 AM James Schneider, wrote: > > > >> Using the URLconf defined in bnt.urls, Django tried these URL

Re: page not found but url exists

2019-08-26 Thread James Schneider
> Using the URLconf defined in bnt.urls, Django tried these URL patterns, > in this order: > >1. admin/ >2. [name='home'] >3. /login [name='clogin'] >4. /login/customer [name='cpage'] >5. /register [name='cregister'] >6. /register/customer [name='cpage'] > > The current

Re: page not found but url exists

2019-08-26 Thread Luca Mazzilli
Kean, Have you tried removing the initial slash inside the path? -- 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

Re: page not found but url exists

2019-08-26 Thread Kean Dumba
Tried this with print request, However it didn’t improve the issue. It can’t be a redirect issue, as it’s not even finding the first instance of the url which is GET action. The redirect is only actionable after on page actions I.e. user register Name, email etc. Are their any other root causes

Re: page not found but url exists

2019-08-26 Thread Gil Obradors
admin/ urls are working fine? if you put print('hello0) at first line inside cregister, you see at the console? If yes the problem is in redirects Missatge de Kean del dia dl., 26 d’ag. 2019 a les 19:32: > Hi Gil, > > please see > > views.cregister > > def cregister(request): > next =

Re: page not found but url exists

2019-08-26 Thread Kean
Hi Gil, please see views.cregister def cregister(request): next = request.GET.get('next') form = CUserRegisterForm(request.POST or None) if form.is_valid(): user = form.save(commit=False) password1 = form.cleaned_data.get('password1') password1 =

Re: page not found but url exists

2019-08-26 Thread Gil Obradors
Hi! Can you paste views.cregister and projectname/urls.py ? Missatge de Kean del dia dl., 26 d’ag. 2019 a les 19:10: > Hi, > > I'm new to Django. I created several urls, in urls.py, however, when I try > to navigate to the URL it says page not found. > Page not found (404) > Request Method:

page not found but url exists

2019-08-26 Thread Kean
Hi, I'm new to Django. I created several urls, in urls.py, however, when I try to navigate to the URL it says page not found. Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/register Using the URLconf defined in bnt.urls, Django tried these URL patterns, in this