Products
On Mon, 8 Jul 2019 at 22:25, Jani Tiainen wrote:
> Hi.
>
> There are two things wrong.
>
> First and most important is that you should always use {%url %} template
> tag to form urls to other django urls and preferably by using named url
> patterns.
>
> Secondly your hardcoded urls
It is explained at least in official tutorial part 3 in very detail.
https://docs.djangoproject.com/en/2.2/intro/tutorial03/
ti 9. heinäk. 2019 klo 16.34 Surya Adhikari
kirjoitti:
> Home
>
> like this also it is not working can you please exaplin me where and how
> should i use {% url %}
>
Home
like this also it is not working can you please exaplin me where and how should
i use {% url %}
On Monday, 8 July 2019 22:26:07 UTC+5:45, Jani Tiainen wrote:
>
> Hi.
>
> There are two things wrong.
>
> First and most important is that you should always use {%url %} template
> tag to
Hi.
There are two things wrong.
First and most important is that you should always use {%url %} template
tag to form urls to other django urls and preferably by using named url
patterns.
Secondly your hardcoded urls are relative. So each time you click link it
is appended to current url. If you
i have a menu bar as, HOME GALLERY
When i click Home its the index page which is being display after when i
click Gallary dropdown menu as house it redirects to search.html . BUT
when i again click hotel it redirects to 127.0.0.1/search/ search1 insted
of 127.0.0.1/search1.
i have
5 matches
Mail list logo