I
I
iFortunes2018-03-11 22:06:36
Django
iFortunes, 2018-03-11 22:06:36

How to implement the output of one application on all pages of the site in Django 2?

Suppose there is an application where links to news are displayed, how can it be displayed on all pages of the site?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alternativshik, 2018-03-11
@alternativshik

Throw a list of links into the context processor and then render the list at the right place in the template. (google context_processors django)

S
sim3x, 2018-03-11
@sim3x

https://toster.ru/answer?answer_id=1074088#answers...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question