try this
in your project urls not your app urls register the namespace like this
path('' , include('blog.urls' , namespace="post")
On Tue, Jul 7, 2020 at 5:11 PM Tanni Seriki <[email protected]> wrote:
> Please family.please help me out,
> Am trying to create a posts details Page, in model.py I declare a get
> absolute URL with a reverse of my post details urls. But if I run it it
> shows me an error, no reverse, post is not a registered namespace.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6bc7554b-bee8-40ee-8662-e156ff6ae768o%40googlegroups.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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAHV4E-ddZOSARB9tOqu2cXY6SOR_OoUUWjbE40_v%2B8u1YetF%2BA%40mail.gmail.com.