NoReverseMatch at / '' is not a registered namespace

106 views
Skip to first unread message

Thiago Brito

unread,
Jan 16, 2019, 2:20:33 PM1/16/19
to django...@googlegroups.com
Hi

I'm beginner in django and i got this error. 

image.png

urls.py
image.png

image.png

and my html file
image.png

and views
image.png
How can i fix it?

any idea?


Gilbeesh Kosma

unread,
Jan 16, 2019, 2:27:41 PM1/16/19
to django...@googlegroups.com

use this: path(' ',include('core.urls'))

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALvrLTsP0BEPUUBruHucVLCvzskYn-JHqAyfd%3DX%2BtG%3DrOy3jXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thiago Brito

unread,
Jan 16, 2019, 2:46:35 PM1/16/19
to django...@googlegroups.com
no way

Em qua, 16 de jan de 2019 às 17:27, Gilbeesh Kosma <gilbees...@gmail.com> escreveu:

use this: path(' ',include('core.urls'))

On Jan 17, 2019 12:50 AM, "Thiago Brito" <bri...@gmail.com> wrote:
Hi

I'm beginner in django and i got this error. 

image.png

urls.py
image.png

image.png

and my html file
image.png

and views
image.png
How can i fix it?

any idea?


--
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...@googlegroups.com.

--
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...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Ing.Daniel Bojorge

unread,
Jan 16, 2019, 3:39:00 PM1/16/19
to django...@googlegroups.com
Try, just say Gilbeesh Kosma
path(' ',include('core.urls'))

And so, remove the import of urls from core app.



Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)



Thiago Brito

unread,
Jan 16, 2019, 4:11:32 PM1/16/19
to django...@googlegroups.com
I created another app for test..

but i got the same error

image.png

my new app 

image.png

and my view

image.png

my html file

image.png

I know now what I did wrong

all link are working except this.. and they are equals..

all day working in this error...

please, help me

ahh.. in localhost working... but in VPS no.. i have a vps in digitalocean.. 

i do know what to do.. 

Ing.Daniel Bojorge

unread,
Jan 16, 2019, 4:33:04 PM1/16/19
to django...@googlegroups.com
Could you put a print screen of the error?


Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)


Thiago Brito

unread,
Jan 16, 2019, 5:09:02 PM1/16/19
to django...@googlegroups.com
Daniel, could you access the following link?


I'm on the bus now.. tks


Ing.Daniel Bojorge

unread,
Jan 16, 2019, 5:12:58 PM1/16/19
to django...@googlegroups.com
Ok, now show the urls.py where you declare the dashboard

imagen.png


Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)


Ing.Daniel Bojorge

unread,
Jan 16, 2019, 5:14:23 PM1/16/19
to django...@googlegroups.com
imagen.png

You must use the namespace core and not dashboard, because this last it doesn't exist.
Try this.

Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)


Thiago Brito

unread,
Jan 16, 2019, 6:09:35 PM1/16/19
to django...@googlegroups.com
Daniel, I change the app for tests.. 

look my main urls
image.png

and my app urls

image.png


my view.py

image.png




shiva kumar

unread,
Jan 17, 2019, 1:40:35 AM1/17/19
to django...@googlegroups.com
i guess you have to put  /dashboard  or dashboard/ over there


Thiago Brito

unread,
Jan 17, 2019, 6:45:45 AM1/17/19
to django...@googlegroups.com
hey guys..

I destroyed the server and built a new one. 

I made a new deploy again and voilá, works fine!!!

I really don't know what happened with that deploy, but, no more problems now...

Tks for all.

God bless you.



 

Ing.Daniel Bojorge

unread,
Jan 17, 2019, 8:59:10 AM1/17/19
to django...@googlegroups.com
hehehehe  very interesting your case.  But, congratulations!!!!


Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)


Reply all
Reply to author
Forward
0 new messages