Using {% url ??? %} in django templates

后端 未结 6 2346
囚心锁ツ
囚心锁ツ 2020-12-07 13:02

I have looked a lot on google for answers of how to use the \'url\' tag in templates only to find many responses saying \'You just insert it into your template and point it

6条回答
  •  余生分开走
    2020-12-07 13:40

    I run into same problem.

    What I found from documentation, we should use namedspace.

    in your case {% url login:login_view %}

提交回复
热议问题