might be you spelling is wrong     http://127.0.0.1:8000/credentails/logout  
* "here you use  "credentails <http://127.0.0.1:8000/credentails/logout>  "*
and url path you use admin/ [name='demo'] *credentials*/ 
^static\/(?P<path>.*)$   '  both should be same
On Monday, 23 January 2023 at 01:18:57 UTC+5:30 Sadiqali ard wrote:

> In my html page shows an error like this:
> Page not found (404) Request Method:    GET Request URL:    
> http://127.0.0.1:8000/credentails/logout Using the URLconf defined in 
> travelproject.urls, Django tried these URL patterns, in this order:  admin/ 
> [name='demo'] credentials/ ^static\/(?P<path>.*)$ 
>
>
>
>
>
> this is my html page here created the link to the user
> <!-- Header -->
>
> <header class="header">
> <div class="container">
> <div class="row">
> <div class="col">
> <div class="header_content d-flex flex-row align-items-center 
> justify-content-start">
> <div class="header_content_inner d-flex flex-row align-items-end 
> justify-content-start">
> <div class="logo"><a href="index.html">My site</a></div>
> <nav class="main_nav">
> <ul class="d-flex flex-row align-items-start justify-content-start">
> <li><a href="index.html">Home</a></li>
> <li class="active"><a href="about.html">About us</a></li>
> {% if user.is_authenticated %}
> <li>Hello {{user.username}}</li>
>
> <li><a href="credentails/logout">Logout</a></li>
> {% else %}
> <li><a href="credentails/register">Register</a></li>
> <li><a href="credentails/login">Login</a></li>
>
>
> {% endif %}
> </ul>
> </nav>
> <div class="header_phone ml-auto">Call us: 00-56 445 678 33</div>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9d2ac4e2-9e17-4f58-9cfb-a5e9444f4a73n%40googlegroups.com.

Reply via email to