аватар question@mail.ru · 01.01.1970 03:00

Variables in the Django template

I would like to use the tag {% url%} in order to do hard, in connection with which I faced the following problem:

  1. I transmit the model containing pages

    {% for page in pass %}

  2. I want to insert the page name in the parameter, but Django curses on a similar record

    { % url 'blog.Views.View' pageename = {{page.name}}}}} %}

    { %endfor %}

  3. Please tell me, what I am doing wrong

Latest

Similar