title: Intercept every request in my Django app
body: <p>I want to count visits on my website. My idea is to use cookies and set time out on it. If there is no request during an hour (for example) and then there is a request I will count it as a new visit.
  Is there a way to intercept every request in Django without repeating my code in each view function?</p>