V
V
Vladisus2015-04-22 21:48:18
Django
Vladisus, 2015-04-22 21:48:18

Variable in base.html, how to organize?

I need to organize the output of a random object on each page of the site. Ideally, shove it into base.html. The question arises, how not to transfer an object in each view, and in general, how is it better to organize it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
marazmiki, 2015-04-22
@Vladisus

Context processors , probably?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question