First time here? Check out the FAQ!
1

Is the {% admin_site_views %} written for Jinja2?
 

Hi

By the look of things, the admin_site_views tag isn't written for Jinja2, but it should be, right?

Thanks

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
kate_r's avatar
107
kate_r
asked 11 years ago

Comments

see more comments

1 Answer

0

No, it's a django admin template tag.

We've recently moved the "settings" templates to Jinja2 and the askbot's base template and all the pages reachable from the "settings" link in the header should work.

Please let us know if you find any that don't work.

We actually don't use any custom template tags for Jinja2 as they are mostly replaceable by other Jinja2 capabilities - e.g. filters and macros.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago, updated 11 years ago
link

Comments

see more comments